Back to articles
Verdaccio Has a Free Private npm Registry — Host Your Own Packages Locally

Verdaccio Has a Free Private npm Registry — Host Your Own Packages Locally

via Dev.to JavaScriptAlex Spinov

Verdaccio is a lightweight private npm proxy registry you can run anywhere. What You Get for Free Private packages — publish internal packages without npm Pro npm proxy — caches public packages locally (faster installs) Scoped packages — @your-org/package-name support Authentication — htpasswd, LDAP, GitHub OAuth, custom plugins Offline mode — install packages without internet Docker — single container, 5-minute setup Web UI — browse packages, view READMEs Quick Start # Docker docker run -d -p 4873:4873 verdaccio/verdaccio # Or npm npm install -g verdaccio && verdaccio # Publish private packages npm set registry http://localhost:4873 npm publish # Install (falls through to npmjs.org for public packages) npm install @your-org/private-package Why Teams Use It npm Teams costs $7/user/month. GitHub Packages has storage limits: Verdaccio is free — no per-user pricing Cache proxy — CI installs 3-5x faster (local cache) Air-gapped networks — works without internet Simple — one Docker containe

Continue reading on Dev.to JavaScript

Opens in a new tab

Read Full Article
2 views

Related Articles