Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Covers Node.js runtime work: event loop and async patterns, streams, ESM/CJS modules, packaging, error handling, and secure HTTP services.
84% 96%+12 ptsof test cases passed
Passed 24 of 25 test cases with the skill, and 21 of 25 without it.
I am creating a custom byte stream in Node.js 22. What is the default `highWaterMark` value in bytes for this stream if I don't specify one?
States the default is 65536 bytes or 64 KiB
3 of 3 safety checks passed
A strong Node.js engineer reasons about the runtime, not just the library. That means understanding how the event loop schedules work, how to move data through streams without blowing memory, how modules resolve at runtime vs at build time, and how to keep services secure against injection and header-based attacks. The retired OpenJS exams (JSNAD and JSNSD) are used here only as a public competence map — they defined what practitioners must know without being about the exam itself.
Load this skill when… writing or reviewing Node.js services, CLIs, or Lambda handlers; debugging event-loop blocking or stream backpressure issues; auditing HTTP security (injection, Helmet, JWT); reviewing module/packaging configuration (ESM, exports map, npm ci). Not this skill: React UI concerns → see
react; Next.js framework (App Router, Server Actions) → seenextjs; TypeScript type-system questions → seetypescript; React Native/mobile runtime → seereact-native.
Deeper context: Study resources, certification history, and learning paths live in references/study-resources.md. Load that file when planning a study path. Sibling skills:
typescript,react,nextjs,react-native.
Verify steps assume nothing about your tooling — use your project's own scripts and the language toolchain (
tsc,node, the test runner, the package manager), in that order of preference.
Credential context (retired JSNAD/JSNSD) and study path: see references/study-resources.md.
[volatile — verify live] marks apply to: the node:test runner API surface (added Node 18, still gaining features each release); require(esm) support for CJS-loading ESM (available Node 20.17.0+, unflagged in 20.19.0+/22.12.0+, stable in 25.4.0 — behavior varies by version) [volatile — verify live]; stream.pipeline() Promise variant availability (node:stream/promises — verify against the project's Node version); worker_threads API surface (stable Node 12+, but options evolve). Check engines in package.json and the Node.js release schedule before relying on a version-specific API. Current LTS lines (2026-06-10): Node 26 is Current; Node 24 (Krypton) is Active LTS (recommended for production); Node 22 (Jod) is Maintenance LTS (security fixes only); Node 20 reached EOL March 24, 2026; Node 18 reached EOL March 27, 2025. [volatile — verify live]express→fastify or Node LTS upgrades); data migrations; deleting or force-pushing git history; infrastructure changes (Redis, load balancer config, rate-limit store).[volatile — verify live] or [opinion — house style].Specific volatile facts in this skill:
require(esm) in CJS files — [volatile — verify live] — available since Node 20.17.0 (behind --experimental-require-module); unflagged and warning-free in Node 20.19.0+/22.12.0+/23.0.0+; marked fully stable (non-experimental) in Node 25.4.0. Not available in Node 18 or Node 20 < 20.17.0.node:test runner API (e.g., --test, --test-reporter) — [volatile — verify live] — features added each LTS cycle.stream.pipeline() from node:stream/promises — [volatile — verify live] — verify it exists in the project's Node version (Node 15+).[volatile — verify live] — confirm against installed library version.The event loop is the single most misunderstood aspect of Node.js. Every performance problem traces back to either blocking the loop or failing to handle backpressure.
Event loop phases (in order): timers (setTimeout/setInterval) → pending I/O callbacks → idle/prepare → poll (new I/O) → check (setImmediate) → close callbacks. Then repeat.
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.