~/talk

How to Node.js - Part 2

Talkat OpenJS World 2022 · 2022-06-06..06-10· [nodejs]
slides:none on file

npm holds 2 million modules so popularity alone misleads: expect many poor performers and surprises (Ramda and Mongoose cause performance and hidden I/O problems; Bluebird is now obsolete). Prefer lightweight, maintained tools: undici 1.5M/week for HTTP, pino for newline-delimited JSON logging, ajv for JSON Schema, dotenv for env, fastify for servers. Use tap/mocha over Jest for Node testing due to runtime incompatibilities. Node supports worker threads; build small CLIs via npm bin. Overall choose libraries by maintenance, deps and measured performance.

AI-written summary · about

  1. 0:00Introduction and ecosystem overview
  2. 1:24NPM module selection pitfalls
  3. 9:31Library evaluation criteria
  4. 17:56Logging and debugging in Node.js
  5. 27:07Node.js threading and worker threads
  6. 28:34Data validation with AJV
  7. 32:09Choosing HTTP clients
  8. 38:17Testing strategies and frameworks
  9. 51:32Why avoid Jest for testing
  10. 1:08:42Building CLI tools
  11. 2:05:00Environment variables and configuration
  12. 2:12:49Contributing to Node.js
  13. 2:18:04Node.js certifications overview
~/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.