Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including verdaccio-npm-urls with all npm packages installed. Try it out:

require("verdaccio/package.json"); // verdaccio is a peer dependency. var verdaccioNpmUrls = require("verdaccio-npm-urls")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

verdaccio-npm-urls v0.1.0

📦⚓ URL Plugin for Verdaccio

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

CircleCI Dependencies Version License Issues

About

Verdaccio has slightly different URLs compared to npm. See for example, the package details page:

# Verdaccio
https://my-registry.com/#/detail/my-package

# npm
https://www.npmjs.com/package/my-package

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

Install

$ npm install verdaccio-npm-urls

Configuration

middlewares:
  npm-urls:
    enabled: true

List of URLs

/package/:name
RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free