Preparing as an npm module