Add npm package

Basically the PR to make issue #5 happen.
All you'd have to do would be running `npm publish` after merging this.
It's quick, and not super-fancy, but will get the job done.