Note: This documentation is for version 1 of the Vercel platform. For the latest features, please see the version 2 documentation. If you have yet to upgrade, see the upgrade guide.

Using Private npm Dependencies

If your application is using projects with dependencies hosted in private npm scopes, you can deploy such with - true to our style - just one command (and a flag):

now --forward-npm

This command will forward your npm credentials during the build process to fetch the required modules. Here's a little video of this feature in action, using a scoped private module in package.json:

Config Property

If you want to forward your npm credentials every time you create a new deployment using Now, you can set the forwardNpm property inside your global ~/.now.json file to true:

  "forwardNpm": true

You can read more about how to configure Now to your needs here.


npm makes it so radically easy to manage your organization's code. Sharing lots of small modules that do one thing well can make your team vastly more productive and your code easier to maintain and iterate on.

To find out more about their plans, visit their website.

We're committed to giving you the best experience when deploying as an individual or in a team, and we hope this feature enhances that.

Enterprise Support

Neither the --forward-npm flag nor the forwardNpm config property support npm's enterprise plans or packages hosted on a custom infrastructure at the moment. But don't worry, we're already working on it!