Support installs via NPM

Fixes #39