~/talk

You Don't Know npm

Talkat JavaScript fwdays'17 · on Saturday, 2017-04-22· [nodejs, developer-experience]
slides:none on file

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

  1. 0:00Start
  2. 4:47add deps from the CLI
  3. 7:55npm... global cache?
  4. 8:49npm install offline
  5. 10:46pack your deps!
  6. 15:19lock down your deps
  7. 16:25update your shrinkwrap
  8. 18:38semver made easy
  9. 20:07automate all the things
  10. 20:48lifecycle events
  11. 21:57npm i --save-dev husky
  12. 24:19let's look at an example
  13. 27:07create a package.json with defaults
  14. 27:23customize npm init questions
  15. 32:22npm-deprecate Deprecate a version of a package
  16. 33:10scoped packages
  17. 34:01private packages
  18. 34:15npm organizations
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.