#esm
6 pages tagged esm.
vitest
Package-level reference for vitest on npm — install variants, vite peer-dep, UI and coverage add-ons, environments, and alternatives.
vite
Package-level reference for vite on npm — install variants, scaffold templates, plugin ecosystem under @vitejs/plugin-*, framework integrations, and alternatives.
TypeScript Modules
Deep dive into TypeScript's module system — module/moduleResolution pairs, .mts/.cts file extensions, NodeNext vs Bundler resolution, paths, and tsconfig extends.
ts-node, tsx & Friends
Compare ts-node, tsx, Node 22.6+ --experimental-strip-types, Bun, and Deno for running .ts files directly; pick the right tool, configure watch mode, and avoid the classic ESM / type-strip pitfalls.
Node.js Runtime
How to use the Node.js runtime — REPL, running scripts, CLI flags, ESM vs CJS modules, built-in node: modules, the process object, and modern globals like fetch and structuredClone.
JavaScript Modules
CommonJS vs ES Modules in Node.js — syntax, how Node chooses the module system, dynamic import, top-level await, CJS/ESM interop, and common pitfalls.