Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

verdaccio

Package Overview
Dependencies
Maintainers
1
Versions
352
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

verdaccio

Private npm repository server

  • 2.2.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
156K
decreased by-21.54%
Maintainers
1
Weekly downloads
 
Created

What is verdaccio?

Verdaccio is a lightweight private npm proxy registry that allows you to host your own npm registry and cache npm packages. It is useful for speeding up npm installs, working offline, and hosting private packages.

What are verdaccio's main functionalities?

Private Registry

This configuration sets up Verdaccio as a private npm registry with authentication and proxying to the official npm registry.

const config = {
  storage: './storage',
  auth: {
    htpasswd: {
      file: './htpasswd'
    }
  },
  uplinks: {
    npmjs: {
      url: 'https://registry.npmjs.org/'
    }
  },
  packages: {
    '@*/*': {
      access: '$all',
      publish: '$authenticated',
      proxy: 'npmjs'
    },
    '**': {
      access: '$all',
      publish: '$authenticated',
      proxy: 'npmjs'
    }
  }
};

module.exports = config;

Caching

This configuration allows Verdaccio to cache packages from the official npm registry, speeding up subsequent installs.

const config = {
  storage: './storage',
  uplinks: {
    npmjs: {
      url: 'https://registry.npmjs.org/'
    }
  },
  packages: {
    '**': {
      access: '$all',
      proxy: 'npmjs'
    }
  }
};

module.exports = config;

Offline Mode

This configuration sets up Verdaccio to work in offline mode, using only the locally cached packages.

const config = {
  storage: './storage',
  uplinks: {},
  packages: {
    '**': {
      access: '$all'
    }
  }
};

module.exports = config;

Other packages similar to verdaccio

Keywords

FAQs

Package last updated on 17 Jun 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc