Package for publish to npm

Fixes #1