It would be great if this module were importable in Node. That would allow us to build with it using Browserify in the usual way. Right now we have to sort of hack it in.
The trick would be to detect the presence of export and write to that instead of window. I can cook up a PR if you're up for it.