verdaccio-npm-urls
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

📦⚓ 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

Package Sidebar

Install

npm i verdaccio-npm-urls

Weekly Downloads

2

Version

1.0.1

License

MIT

Unpacked Size

6.36 kB

Total Files

6

Last publish

Collaborators

  • abraham-schilling