Add npm package, issues #1