Easy URL Parsing With Isomorphic JavaScript

How would you load env.js client-side? Unless you were using browserify or similar, you couldn’t depend on env.isBrowser()? But if Browserify is a dependency, it’s simpler to check for the existance of that … in which case, you don’t need env.js and your application disappears in a puff of logic!

Yeah, it’s surprising that Node’s been around for 5 or 6 years yet this remains a problem.