Your npm docs hand every customer the same token.

Give each customer their own read-only key for the repositories you choose.

CloudRepo is fully managed with unlimited users, so we run and patch the servers for you.

Start free trial

14 days free. No credit card required.

Access keys for three customers, each with its own key, expiry, Last Used and Status
Each customer's key shows when it expires and when it was last used.

What you and your customers go through today

  • Sharing one registry token across buyers means revoking it breaks installs for every other customer.
  • Adding external customers to your internal npm organization puts outside accounts next to your own engineers.
  • Sending packages as zip files forces customers into manual installs.
  • Running your own private npm registry leaves your team responsible for server maintenance and patching.

The CloudRepo way

  1. Push your private packages to an npm repository in CloudRepo.
  2. Add each customer as a subscriber, and choose the repositories they can read.
  3. Issue them their own read-only key.
  4. Set the key to expire in 90, 180 or 365 days, on a date you pick, or never.
  5. See when each key was last used, and revoke one customer's key without touching anyone else's.

Your customer adds two lines to their .npmrc file for your scope's registry and their token.

~/.npmrc
@your-scope:registry=https://your-org.mycloudrepo.io/repositories/your-repository/
//your-org.mycloudrepo.io/repositories/your-repository/:_authToken=ACCESS_KEY_ID.YOUR_SECRET
Terminal window
chmod 600 ~/.npmrc
npm install @your-scope/your-package
See every step in the docs

More detail: Software Distribution and Pricing.

Try it with your own builds

Publish one release, issue one key, and pull it the way your customer will.

Start free trial

14 days free. No credit card required.

Chris Shellenbarger, founder of CloudRepo

Founder-run since 2016, with no venture capital. A real person answers within one business day. Usually it's me.

Chris, founder of CloudRepo