You Don't Know npm
summary
Registry handles roughly 2 billion downloads a week and about 40,000 publishes per week with ~5,000 new packages; it exposes a downloads API, searchable scope packages, replication endpoints and webhooks. The CLI offers practical commands like npm prune to clean node_modules, npm pack to install from local tarballs and bundleDependencies to vendor deps, npm version to auto-commit and tag, shrinkwrap/lockfile guarantees, and npm5’s offline/cache rewrite plus integrity checks that make installs far faster.
AI-written summary · about
chapters (18)
- 0:00Start
- 4:47add deps from the CLI
- 7:55npm... global cache?
- 8:49npm install offline
- 10:46pack your deps!
- 15:19lock down your deps
- 16:25update your shrinkwrap
- 18:38semver made easy
- 20:07automate all the things
- 20:48lifecycle events
- 21:57npm i --save-dev husky
- 24:19let's look at an example
- 27:07create a package.json with defaults
- 27:23customize npm init questions
- 32:22npm-deprecate Deprecate a version of a package
- 33:10scoped packages
- 34:01private packages
- 34:15npm organizations








