https://github.com/n4bb12/verdaccio-npm-urls
📦⚓ Adds npm URLs to Verdaccio
https://github.com/n4bb12/verdaccio-npm-urls
npm registry urls verdaccio
Last synced: 6 months ago
JSON representation
📦⚓ Adds npm URLs to Verdaccio
- Host: GitHub
- URL: https://github.com/n4bb12/verdaccio-npm-urls
- Owner: n4bb12
- License: mit
- Created: 2019-03-09T23:07:53.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-12-22T13:42:38.000Z (almost 5 years ago)
- Last Synced: 2025-04-16T00:57:53.740Z (6 months ago)
- Topics: npm, registry, urls, verdaccio
- Language: TypeScript
- Homepage: https://verdaccio.org
- Size: 268 KB
- Stars: 6
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
📦⚓ URL Plugin for Verdaccio
Adds npm URLs to Verdaccio – https://www.verdaccio.org## 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](https://raw.githubusercontent.com/release-it/release-it/master/docs/assets/release-it.gif) 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:
```yml
middlewares:
npm-urls:
enabled: true
```