Refactor to npm package.