Skip to main content

Šta je Verdaccio?

Verdaccio je lightweight private npm proxy registry ugrađen u Node.js

logo

Šta je registry#

  • Repozitorijum za pakete koji implementira CommonJS Compliant Package Registry specification za čitanje informacija o paketu
  • Obezbeđuje API kompatibilnost sa npm klijentima, (yarn/npm/pnpm)
  • Semantic Versioning compatible (semver).
$> verdaccio

registry

Using Verdaccio#

Using Verdaccio with any Node.js package manager client is quite straightforward.

registry

You can use a custom registry either by setting it globally for all your projects

npm set registry http://localhost:4873

or by using it in command line as an argument --registry in npm (slightly different in yarn)

npm install lodash --registry http://localhost:4873
yarn config set registry http://localhost:4873

Private#

All packages that you publish are private and only accessible based in your configuration.

Proxy#

Verdaccio cache all dependencies on demand and speed up installations in local or private networks.

In a Nutshell#

  • To je web app bazirana na Node.js
  • To je privatni npm registry
  • To je lokalni network proxy
  • To je aplikacija koja podržava plugine
  • Prilično jednostavan za instaliranje i korišćenje
  • Nudimo Docker i Kubernetes podršku
  • 100% Komparibilan sa yarn, npm i pnpm
  • Nakon što je forkovan na bazi sinopia@1.4.0 ostvaruje100% kompatibilnost unazad.