#javascript

48 pages tagged javascript.

48/48

Node.js

Server-side JavaScript runtime built on the V8 engine.

06-10-2026#javascript#node#runtime

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

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

qs

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

05-31-2026#npm#package#querystring

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

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

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

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

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

Zod

TypeScript-first runtime validation library. Define schemas, validate inputs, infer static types — works at API boundaries, env config, forms, and tRPC.

05-25-2026#javascript#typescript#zod

React Basics

Foundational React patterns — function components, JSX, props, hooks (useState, useEffect, useRef, useContext), list rendering, and form handling — with TypeScript throughout.

05-25-2026#javascript#react#ui

Prisma

Schema-first ORM for Node.js with auto-generated typed client, declarative migrations, relations, transactions, and seeding — for PostgreSQL, MySQL, SQLite, MongoDB, and more.

05-25-2026#javascript#typescript#orm

Playwright

Cross-browser end-to-end test runner from Microsoft with auto-waiting, role-based selectors, trace viewer, and codegen.

05-25-2026#javascript#playwright#testing

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

node:stream

Node.js streams — Readable, Writable, Duplex, and Transform, the modern pipeline() API, backpressure, async iterators, Web Streams interop, and patterns for piping files, HTTP bodies, and gzip compression.

05-25-2026#javascript#node#streams

node:fs

Node.js file system module — the three APIs (callback, sync, promises), reading and writing files, directory operations, watchers, atomic writes, and path module pairing.

05-25-2026#javascript#node#filesystem

Fastify

Fastify is a high-performance Node.js web framework with schema-driven validation, plugin encapsulation, hooks, decorators, and built-in Pino logging — covering routes, plugins, hooks, error handling, and production hardening.

05-25-2026#javascript#node#backend

dotenv

Load configuration and secrets from .env files into process.env at startup, with multi-environment files, variable expansion, schema validation, and Node 20.6+ built-in --env-file alternatives.

05-25-2026#javascript#node#config

Deno

Deno is a secure, modern JavaScript and TypeScript runtime built on V8 with permission-based sandboxing, built-in TypeScript, a curated standard library on JSR, and a complete toolchain (fmt, lint, test, bench, compile).

05-25-2026#javascript#runtime#deno

Day.js

Parse, format, manipulate, compare, and convert timezones for dates in JavaScript using Day.js — a 2 kB Moment-compatible alternative with a plugin-based architecture.

05-25-2026#javascript#dates#time

Commander.js

Build full-featured Node.js CLIs with positional arguments, typed options, subcommands, auto-generated help, lifecycle hooks, and a distributable bin in package.json.

05-25-2026#javascript#node#cli

Chalk

Apply ANSI colours, backgrounds, and text styles to terminal output in Node.js using Chalk's chainable API, plus comparisons with picocolors and patterns for building polished CLI UX.

05-25-2026#javascript#node#cli

Bun

Bun is a fast all-in-one JavaScript runtime, package manager, bundler, and test runner written in Zig — a drop-in replacement for Node.js and npm with built-in TypeScript and JSX support.

05-25-2026#javascript#runtime#bun

Biome

Rust-based all-in-one linter and formatter for JS/TS/JSON/CSS/GraphQL. Single binary, single config, 10-100x faster than ESLint+Prettier.

05-25-2026#javascript#biome#linting

Astro

Astro is a multi-page, content-first web framework with an islands architecture — server-render Markdown, MDX, and component pages to static HTML, then hydrate interactive widgets selectively with React, Vue, Svelte, or Solid.

05-25-2026#javascript#framework#astro

Yarn Package Manager

Yarn is a fast, deterministic package manager from Meta. Covers Yarn Classic (v1) vs Yarn Berry (v4), install, add, remove, workspaces, Plug'n'Play, and migration tips.

04-26-2026#javascript#yarn#packages

Vitest

Vite-native unit test framework with a Jest-compatible API. Covers setup, writing tests, matchers, mocking, timers, async testing, coverage, and UI mode.

04-26-2026#javascript#vitest#testing

Vite

Next-generation frontend build tool using native ES modules for near-instant dev server startup and Rollup for production bundles. Covers setup, config, HMR, env vars, assets, CSS, and plugins.

04-26-2026#javascript#vite#build

TypeScript

Static typing for JavaScript — tsconfig reference, the full type system, generics, utility types, narrowing, and common compiler errors explained.

04-26-2026#typescript#javascript#types

Regular Expressions

JavaScript has built-in RegExp support (ES2018+ with named groups, lookbehind, dotAll). Covers literal syntax, flags, character classes, methods, named captures, and common patterns.

04-26-2026#javascript#regex#language

Promises

JavaScript Promises represent the eventual completion or failure of an async operation. Covers states, chaining, combinators, callback conversion, AbortController, and common anti-patterns.

04-26-2026#javascript#promises#async

Programming

A reference hub for programming languages and their ecosystems — Python, JavaScript, and TypeScript, with package managers, runtimes, and tooling.

04-26-2026#programming#python#javascript

Prettier

Opinionated code formatter for JS/TS/CSS/HTML/JSON/Markdown. Covers config options, .prettierignore, VS Code integration, ESLint compatibility, lint-staged, and CI usage.

04-26-2026#javascript#prettier#formatting

pnpm Package Manager

Fast, disk-efficient package manager using a content-addressable store and hard-links. Covers install, add, remove, scripts, dlx, exec, the pnpm store, and workspaces.

04-26-2026#javascript#pnpm#packages

package.json Reference

Complete reference for the Node.js package manifest — name, version, scripts, dependencies, exports, workspaces, and the packageManager field for Corepack.

04-26-2026#javascript#npm#packages

npx

Run npm package binaries without global installs using npx. Covers resolution order, version pinning, --yes, --no-install, npm exec, scaffolders, and cache management.

04-26-2026#javascript#npx#npm

npm Package Manager

Complete npm reference — installing packages, scripts, workspaces, package.json anatomy, audit, publish, link, lockfiles, and registry configuration.

04-26-2026#javascript#npm#packages

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.

04-26-2026#javascript#node#runtime

Node.js Installation

Install Node.js on Windows, macOS, and Linux using winget, Homebrew, apt, nvm, Volta, or fnm. Covers version managers, LTS vs current, and verifying your install.

04-26-2026#javascript#node#installation

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.

04-26-2026#javascript#modules#esm

JavaScript

Node.js runtime, package managers, async patterns, array methods, and frontend tooling — a complete JavaScript reference for the command line and the browser.

04-26-2026#javascript#node#npm

Fetch API

The browser and Node 18+ built-in HTTP client that returns Promises. Covers GET/POST/PUT/DELETE, headers, error handling, streaming, AbortController, uploads, credentials, and CORS.

04-26-2026#javascript#fetch#http

ESLint

The standard JavaScript/TypeScript linter. Covers flat config (v9), legacy .eslintrc, running, rules, plugins, TypeScript integration, VS Code, and pre-commit hooks.

04-26-2026#javascript#eslint#linting

Error Handling

JavaScript error handling with try/catch/finally, built-in error types, custom error classes, error chaining with cause (ES2022), async errors, and practical patterns like result objects.

04-26-2026#javascript#errors#language

Async / Await

async/await syntax, error handling, parallel execution with Promise.all, sequential vs parallel loops, top-level await, AbortController, and common mistakes.

04-26-2026#javascript#async#promises

Array Methods

JavaScript arrays have ~30 built-in methods for transforming, searching, and reducing data. Covers mutation, non-mutation, search, boolean, iteration, and static methods with real examples.

04-26-2026#javascript#arrays#language