node package manager
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org ยป



A proxy server that uses Artifactory as a data store for npm modules. Useful to seamlessly integrate node into your java/maven-based workflows.

  • offload network strain on to in-house artifactory
  • publish and consume your proprietary modules without major workarounds
  • snapshot/shrinkwrap your dependency versions so that OSS licenses are bundled in-house


npm install npm-artifactory


Run the server:

node app.js

Set your registry to point to the server (ie):

npm config set registry http://localhost:3000/

Use npm as you would:

npm publish
npm install your-private-module


Configure config.json before running (make sure the credentials to Artifactory are correct). The host and port are necessary for npm-artifactory to rewrite some urls to point to its instance instead of Make sure this these values are externally accessible (ie, provide your ip address instead of 'localhost').

You may optionally specify a proxy address in the config (ex. 'http://localhost:9999')

If you want to reset the registry back to the default, run: npm config set registry


Apache License 2.0