Easy URL Parsing With Isomorphic JavaScript

Hi Craig!

OK, but that would mean one has to write something like:

global.document = {};
global.window = {};

…in nodejs right before the require call to fool a check in a module and override / change the global object.
That’s definitely bad practice, but I agree that it is unsafe because on can work around it as described.
Thanks for the hint!