Have a question? Want to report an issue? Contact JFrog support

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Section
Column
width75%

Overview

Excerpt

Artifactory provides full support for managing npm packages and ensures optimal and reliable access to npmjs.org.

Aggregating multiple npm registries under a virtual repository Artifactory provides access to all your npm packages thorugh a single URL for both upload and download.

 

As a fully-fledged npm registry on top of its capabilities for advanced artifact management, Artifactory's support for

Newtablink
Textnpm
URLhttps://www.npmjs.com/
provides:

  1. The ability to provision npm packages from Artifactory to the npm command line tool from all repository types
  2. Calculation of Metadata for npm packages hosted in Artifactory's local repositories
  3. Access to remote npm registries (such as https://registry.npmjs.org) through Remote Repositories which provide the usual proxy and caching functionality
  4. The ability to access multiple npm registries from a single URL by aggregating them under a Virtual Repository. This overcomes the limitation of the npm client which can only access a single registry at a time.
  5. Compatibility with the
    Newtablink
    Textnpm command line tool
    URLhttps://npmjs.org/doc/
    to deploy and remove packages and more.
  6. Support for flexible npm repository layouts that allow you to organize your npm packages and assign access privileges according to projects or development teams.

 

Info
titleNpm version support

Artifactory supports NPM version 1.4.3 and above.

 

 

Column
width25%
Info
iconfalse
titlePage Contents

Table of Contents
maxLevel4
minLevel2

Configuration

Local Npm Registry

To enable calculation of npm package metadata in local repositories so they are, in effect, npm registries,  set

...

the Package Type

...

 to npm when you create the repository:
Image Modified

 

 

Column
width25%
Info
iconfalse
titlePage Contents

Table of Contents
maxLevel4
minLevel2

Repository Layout

Artifactory allows you to define any layout for your npm regsitries. In order to upload packages according to your custom layout, you need to package your npm files using npm pack.

...