convert to npm package