Case Study “We ran the math, npm charges $7/customer/mo and every user has to have a paid account ; verdaccio can effortlessly scale to hundreds of users and tens of packages a month” “We use it in production on a single DigitalOcean droplet, $5/mo ” https://sheetjs.com/
Quick recap to problems Availability Control Security Affordability Latency ( Not a big factor ) Firewall ( In China )
A lightweight private npm proxy registry
Lightweight Private Registry Proxy (Uplinks) Cache (Storage) Entirely Optional Configuration Pluggable Application Web User Interface MIT License What’s Verdaccio?
Installation node > 8
Docker and Kubernetes 6 .600.000 pulls https://github.com/verdaccio/docker-examples
Private Registry All benefits of npmjs registry without sending the code to the public
@scopes and .npmrc It is hard to maintain and insecure
Uplinks Handle the distribution efficiently pnpm install --registry http://verdaccio.npm.tool
Accessing secured registries Uplinks
Storage can be hosted in the cloud Storage
Web Interface React, Typescript, Material-UI
Plugins Build plugin your own plugin https://verdaccio.org/docs/en/dev-plugins