JSPM

verdaccio-npm-urls

1.0.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 3
  • Score
    100M100P100Q36894F
  • License MIT

Package Exports

  • verdaccio-npm-urls

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (verdaccio-npm-urls) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

📦⚓ URL Plugin for Verdaccio

Adds npm URLs to Verdaccio – https://www.verdaccio.org

Version License Issues CircleCI Dependencies

About

Verdaccio has slightly different URLs compared to NPM. For example it has a different package detail page:

NPM /package/my-package
Verdaccio 3 /#/detail/my-package
Verdaccio 4 /-/web/detail/my-package

To improve compatibility with existing tools, this plugin adds the routes used by NPM to Verdaccio.

As an example, release-it prints the package URL after successful publishing, but the link is incorrect for Verdaccio by default.

Compatibility

  • Verdaccio 3 and 4
  • Node >=10

List of additional URLs

/package/:name

Install

$ npm install verdaccio-npm-urls

Configuration

Merge the below options with your existing Verdaccio configuration:

middlewares:
  npm-urls:
    enabled: true