npm 5: Bringing Package Management to the Future
summary
npm 5 speeds up Node package installs (claimed 5–10×, up to ~647% in a benchmark) by replacing the download/extract/cache stack with three fast open‑source libraries and a more modular client. It introduces a machine‑readable package-lock to pin exact dependency trees, automatic offline installs from cache, easier registry switching, a small execution tool called mpx, built‑in two‑factor authentication, and plans for workspace support, faster disk writes, and a CI‑focused tiny installer.
AI-written summary · about
chapters (12)
- 0:00Introduction
- 1:09npm 5 speed benchmarks
- 4:52npm 5 modular architecture
- 8:28Package management models
- 15:33New npm 5 features
- 19:03Offline installation and cache
- 21:55npx tool
- 24:06Two-factor authentication
- 25:08npm future plans
- 26:33npm ci for CI
- 27:13npm for web assets
- 27:55Summary
related talks
31mKat Marchán - SeattleJS Conference 2017
31mnpm: paster, presenter, futurer
57mnpm and the Future of JavaScript
27mnpm i g @next and beyond: Building the future of package management
41mnpm and the Future of JavaScript
22mpnpm – a Fast, Disk Space Efficient Package Manager for JavaScript
41mnpm and the Future of JavaScript
41mThe Future of JavaScript Package Management
