converts to npm package format