added npm support, closes #17

There it is, the promissed npm support :wave: