ProGet Documentation

npm Feeds in ProGet

npm Feeds

npm is a package repository designed for Node.js. An npm feed is a repository for npm packages hosted in ProGet. These packages are accessible using the standard npm command-line tool, and are also browsable from the ProGet web application.

npm Feed Configuration

An npm feed may be configured from the Feed Administration page by clicking on the Edit Properties button. Following is a description of the options available.

Feed Name

The feed name uniquely identifies the feed in ProGet. The feed name will also be used as part of the npm repository URL for the feed, so it is best to avoid characters that must be URL encoded, since users may need to type this URL in manually when configuring npm.

Feed Description

The feed description is optional, and is not used by ProGet at all. It is merely displayed on the feed page and can contain any text.

Bulk Import Drop Path

If set, ProGet will periodically scan this path for packages to import into the feed. Each package that is successfully imported will then be deleted from this path. This is useful for a one-time import of lots of packages, or as a target for a build tool that produces an npm package.

Options: Active

When set, the feed is considered active. Feeds that are active can be used and browsed using the web interface. A feed that is not active will be unavailable and hidden from the UI everywhere except for in the feed administration section.

Options: Cache Packages

When set, every time a package is requested that ProGet has to fetch from a remote connector, a copy of that package is saved on the ProGet server, so that future requests will be faster.