npm

69 cheat sheets.

69/69

ccusage

Local-first CLI and TypeScript library that reads JSONL session logs from Claude Code, Codex, and 13 other coding agents to produce daily/weekly/monthly/session/billing-block reports of token spend.

06-08-2026#ccusage#npm#package

zod

Package-level reference for zod on npm — install variants, v4 breaking changes (looseObject, mini build), companion packages, and alternatives.

05-31-2026#npm#package#validation

yargs

Package-level reference for yargs on npm — command builders, middleware, prototype-pollution history, and alternatives like commander.

05-31-2026#npm#package#cli

ws

Package-level reference for ws on npm — client/server, broadcast, heartbeat, compression, and security pitfalls.

05-31-2026#npm#package#websocket

wrangler

Package-level reference for the wrangler CLI on npm — install, Node support, transitive dependency footprint, and platform-binding gotchas.

05-31-2026#npm#package#wrangler

winston

Package-level reference for winston on npm — transports, formats, levels, daily rotation, and production patterns.

05-31-2026#npm#package#winston

webpack

Package-level reference for webpack on npm — loaders, plugins, code splitting, asset modules, module federation, and the slow migration toward Rspack and Vite.

05-31-2026#npm#package#bundler

vue

Package-level reference for Vue 3 — Composition API, reactivity, single-file components, the Vue 2 → 3 migration, and the broader ecosystem (Pinia, Vue Router, Nuxt).

05-31-2026#npm#package#vue

vitest

Package-level reference for vitest on npm — install variants, vite peer-dep, UI and coverage add-ons, environments, and alternatives.

05-31-2026#npm#package#testing

vite

Package-level reference for vite on npm — install variants, scaffold templates, plugin ecosystem under @vitejs/plugin-*, framework integrations, and alternatives.

05-31-2026#npm#package#build

vercel

Package-level reference for the vercel CLI on npm — install, Node support, command surface, project linking model, and where it fits next to wrangler / netlify-cli.

05-31-2026#npm#package#vercel

valibot

Package-level reference for valibot — schemas, transforms, pipes, branding, safeParse, and the tree-shaking advantage over zod.

05-31-2026#npm#package#validation

uuid

Package-level reference for uuid on npm — v4 random, v5 namespace, v7 sortable, ESM-only since v9, and namespace pattern.

05-31-2026#npm#package#id

type-fest

Package-level reference for type-fest on npm — install (dev-only, pure types), TS version requirements, recursion limits, and alternatives.

05-31-2026#npm#package#types

turbo

Package-level reference for turbo on npm — install, pipelines, remote cache, filter syntax, and the Nx / pnpm-workspaces comparison.

05-31-2026#npm#package#monorepo

tsx

Package-level reference for tsx on npm — enhanced Node.js runtime for TypeScript and ESM, watch mode, ts-node replacement, and Node loader integration.

05-31-2026#npm#package#typescript

ts-node

Package-level reference for ts-node on npm — TypeScript-aware REPL, transpile-only mode, ESM loader, and its tsx-driven decline.

05-31-2026#npm#package#typescript

serve

Package-level reference for serve on npm — install, SPA fallback, auth, CORS, and when to reach for caddy or python -m http.server instead.

05-31-2026#npm#package#dev-tool

rollup

Package-level reference for rollup on npm — library bundling, multi-format output, plugin ecosystem, tree shaking, and the Rolldown migration.

05-31-2026#npm#package#bundler

rolldown

Package-level reference for rolldown on npm — Rust rewrite of Rollup, API compatibility goals, current limitations, and the Vite migration path.

05-31-2026#npm#package#bundler

rimraf

Package-level reference for rimraf on npm — install, API, why it still exists in the Node fs.rm era, and migration paths.

05-31-2026#npm#package#filesystem

redis

Package-level reference for node-redis on npm — pipelining, pub/sub, TTL, the v3-to-v4 API rewrite, and rate-limit patterns.

05-31-2026#npm#package#redis

react-dom

Package-level reference for react-dom — client/server rendering, hydration, portals, flushSync, and the React 19 root API.

05-31-2026#npm#package#react

react

Package-level reference for the React library on npm — install, paired react-dom, server-component model, and upgrade gotchas.

05-31-2026#npm#package#react

qs

Package-level reference for qs on npm — nested objects, arrays, allowDots, prototype-pollution history, and URLSearchParams comparison.

05-31-2026#npm#package#querystring

prisma

Package-level reference for prisma (CLI) and @prisma/client (runtime) on npm — install, generator, peer setup, Node and database support, and alternatives.

05-31-2026#npm#package#orm

prettier

Package-level reference for prettier on npm — install variants, v3 ESM-only switch, plugin model (Tailwind, Astro, etc.), Node support, and alternatives.

05-31-2026#npm#package#formatting

pino

Package-level reference for pino on npm — child loggers, redaction, transports, serializers, and migration notes.

05-31-2026#npm#package#pino

pg

Package-level reference for node-postgres on npm — pools, parameterized queries, transactions, LISTEN/NOTIFY, and COPY streaming.

05-31-2026#npm#package#postgres

oxc-transform

Package-level reference for oxc-transform on npm — Rust transformer from the oxc toolchain, TS/JSX support, current API maturity, and place in the ecosystem.

05-31-2026#npm#package#transformer

openai

Package-level reference for openai on npm — Chat Completions, the Responses API, streaming, tool calls, structured outputs, embeddings, and the v4→v5 migration.

05-31-2026#npm#package#ai

npm-run-all2

Package-level reference for npm-run-all2 on npm — install, glob-based script matching, run-s vs run-p, and migration from the unmaintained npm-run-all.

05-31-2026#npm#package#dev-tool

npm-check-updates

Package-level reference for npm-check-updates on npm — install, Node support, the ncu binary, doctor mode, workspaces, and where it fits next to npm outdated, taze, and bun update.

05-31-2026#npm#package#ncu

nodemon

Package-level reference for nodemon on npm — watch globs, exec patterns, config files, and how it compares to node --watch and tsx watch.

05-31-2026#npm#package#runner

node-fetch

Package-level reference for node-fetch on npm — v2 (CJS) vs v3 (ESM), why Node 18+ built-in fetch obviates it, and migration paths.

05-31-2026#npm#package#http

next

Package-level reference for Next.js — App Router, server components, server actions, middleware, caching, and the 14 → 15 → 16 migration path.

05-31-2026#npm#package#react

mysql2

Package-level reference for mysql2 on npm — promise API, prepared statements, pooling, streaming, and migration from mysql.

05-31-2026#npm#package#mysql

mongoose

Package-level reference for mongoose on npm — schemas, models, transactions, populate, indexes, and 7-to-8 migration.

05-31-2026#npm#package#mongoose

lodash

Package-level reference for lodash on npm — modular imports, ES2020+ replacements, lodash/fp, debounce/throttle, and the honest 'you might not need this' framing.

05-31-2026#npm#package#utility

jest

Package-level reference for jest on npm — install variants, transformer ecosystem, peer-dep landscape, vitest competition, and migration paths.

05-31-2026#npm#package#testing

ioredis

Package-level reference for ioredis on npm — cluster, sentinel, pipelining, Lua scripts via defineCommand, and stability characteristics.

05-31-2026#npm#package#redis

http-server

Package-level reference for http-server on npm — install, HTTPS, gzip, proxy mode, basic auth, and the serve comparison.

05-31-2026#npm#package#dev-tool

hono

Package-level reference for Hono — minimal routing, typed handlers, middleware, RPC client, and deployment to Cloudflare Workers, Bun, Deno, Node, and Vercel Edge.

05-31-2026#npm#package#web

helmet

Package-level reference for helmet on npm — default headers, CSP customization, per-route overrides, HSTS, and v7→v8 migration.

05-31-2026#npm#package#security

form-data

Package-level reference for form-data on npm — file uploads, streaming, headers, and the modern FormData web standard alternative.

05-31-2026#npm#package#multipart

fastify

Package-level reference for the Fastify framework on npm — install, plugin model, Node support, and validation/encapsulation gotchas.

05-31-2026#npm#package#fastify

express

Package-level reference for Express on npm — install, middleware model, Node support, 4-to-5 migration, and production deployment.

05-31-2026#npm#package#express

eslint

Package-level reference for eslint on npm — install variants, flat config (v9) vs legacy .eslintrc, typescript-eslint, plugin ecosystem, and alternatives.

05-31-2026#npm#package#linting

esbuild

Package-level reference for esbuild on npm — bundle CLI, transform API, JS API, plugin system, and trade-offs vs Rollup, Webpack, and Vite.

05-31-2026#npm#package#bundler

elysia

Package-level reference for Elysia — end-to-end type safety, plugins, Eden RPC client, schema validation, and Bun-first deployment.

05-31-2026#npm#package#web

effect

Package-level reference for the Effect library — Effect values, generators, fibers, error channels, dependency injection, and the 2.x → 3.x migration.

05-31-2026#npm#package#effect

drizzle-orm

Package-level reference for Drizzle ORM — schema definitions, type-safe queries, relations, migrations with drizzle-kit, and deployment patterns.

05-31-2026#npm#package#orm

dotenv

Package-level reference for the dotenv config loader on npm — install, native Node alternatives, dotenvx successor, and gotchas.

05-31-2026#npm#package#config

diff2html-cli

Package-level reference for the diff2html-cli renderer on npm — install, runtime support, peer-deps, and alternatives.

05-31-2026#npm#package#diff

debug

Package-level reference for debug on npm — namespace pattern, DEBUG env enable, browser vs Node, and production wrapping.

05-31-2026#npm#package#logging

dayjs

Package-level reference for the Day.js date library on npm — install, plugin model, version policy, and alternatives.

05-31-2026#npm#package#date

cypress

Package-level reference for cypress on npm — install size, binary caching, peer-dep landscape, playwright competition, and component-testing add-ons.

05-31-2026#npm#package#testing

cors

Package-level reference for cors on npm — preflight handling, credentialed requests, dynamic origins, and Express integration.

05-31-2026#npm#package#cors

concurrently

Package-level reference for concurrently on npm — install, output prefixing, kill-others, race-mode, and the npm-run-all2 comparison.

05-31-2026#npm#package#dev-tool

commander

Package-level reference for the commander CLI framework on npm — install, version policy, TypeScript extras, and alternatives.

05-31-2026#npm#package#cli

chalk

Package-level reference for the chalk ANSI-styling library on npm — install, ESM-only policy, peer-deps, and alternatives.

05-31-2026#npm#package#cli

body-parser

Package-level reference for body-parser on npm — JSON, urlencoded, raw and text middleware, webhook signatures, and Express 4.16+ bundling.

05-31-2026#npm#package#body-parser

axios

Package-level reference for axios — interceptors, request configuration, error handling, and the migration story from 0.x to 1.x.

05-31-2026#npm#package#http

astro

Package-level reference for the Astro framework on npm — install, integration ecosystem, runtime support, and SSR/SSG adapter gotchas.

05-31-2026#npm#package#astro

ai

Package-level reference for the Vercel AI SDK — streamText, generateObject, tool calling, structured output, and the multi-provider model interface.

05-31-2026#npm#package#ai

@vue/cli

Reference for the legacy @vue/cli npm package — install, command surface, plugin model, and why create-vue + Vite is the recommended path for new projects.

05-31-2026#npm#package#vue

@playwright/test

Package-level reference for @playwright/test and playwright on npm — install variants, browser-binary download, fixtures, traces, and alternatives.

05-31-2026#npm#package#testing

@biomejs/biome

Package-level reference for @biomejs/biome on npm — install, single-binary toolchain replacing prettier+eslint, Node support, and alternatives.

05-31-2026#npm#package#linting

npm Packages

Cheat sheets for Node.js modules from the npm registry — HTTP clients, validation, CLI builders, utility libraries, and more.

05-25-2026#packages#npm#node