Loading…
Loading…
JavaScript
A complete JavaScript course — from the language fundamentals and the DOM to modern features, modules, async, tooling and the parts you actually reach for day to day. 140 articles with practice quizzes.
The TypeScript features that make types expressive: union and literal types, narrowing with typeof, instanceof, in and type predicates, discriminated unions with exhaustiveness checks, enums vs literal unions, generic functions and constraints, read-only types, utility types, as const and satisfies.
kvi5hnuCode Sprout team member8 minAdd static types to JavaScript with TypeScript: what a type checker catches, tsc and Node's type stripping, @ts-check and JSDoc, annotations and inference, function types, interfaces and object types, optional and readonly properties, collections, classes, any vs unknown.
kvi5hnuCode Sprout team member7 minRead and write JSX confidently: elements as expressions, attributes and children, embedding JavaScript in braces, conditional rendering with && and ternaries, lists and keys, spread attributes, fragments, components and props, and how compilers turn JSX into function calls that build plain objects.
kvi5hnuCode Sprout team member6 minWhat happens between your source and the code users download: why bundling still matters, module graphs, tree-shaking, code splitting, minification, source maps, dev servers and HMR, transpiling with Babel, esbuild and TypeScript, targets and polyfills.
kvi5hnuCode Sprout team member8 minManage dependencies like a professional: what npm does, package.json fields, dependencies vs devDependencies, semantic versioning and ^ and ~ ranges, package-lock.json and npm ci, scripts and npx, updating and auditing, supply-chain safety, publishing basics, and pnpm, Yarn and Bun.
kvi5hnuCode Sprout team member7 minWrite automated tests that catch logic bugs: how test frameworks work, assertions, Node's built-in node:test runner, Vitest and Jest, testing async code, test doubles (mocks, stubs, spies) and dependency injection, code coverage, the testing pyramid, and running tests in CI.
kvi5hnuCode Sprout team member7 minCatch bugs and end style debates automatically: what a linter finds, ESLint's flat config, rules, severities, --fix and inline disables, plugins and typescript-eslint, Prettier's opinionated formatting and few options, making the two cooperate, and running them in editors, hooks and CI.
kvi5hnuCode Sprout team member7 minRun CPU-heavy JavaScript in parallel with node:worker_threads: when workers help, creating workers with workerData, messages and structured cloning, transferring buffers and MessagePorts, the worker environment, SharedArrayBuffer and Atomics, worker pools, and workers vs processes.
kvi5hnuCode Sprout team member8 minGo below HTTP with node:net: TCP servers and clients, sockets as duplex streams, framing a line-based protocol, then run other programs from Node with execFile, spawn, exec and fork, including options, exit codes, streaming I/O, IPC messages and avoiding shell injection.
kvi5hnuCode Sprout team member7 minBuild HTTP servers with node:http: request and response objects, routing with URL, reading JSON bodies safely, status codes and headers, a streaming static file server with a path traversal guard, HTTP clients with fetch and http.request, HTTPS, and why frameworks exist.
kvi5hnuCode Sprout team member7 minWrite files whole, appended, streamed or at byte positions; open flags like "a" and "wx"; truncate and fsync; atomic saves with rename; copy, move, delete and cp; stat metadata and permissions; mkdir, readdir, recursive listings, opendir, glob, rm and watching files.
kvi5hnuCode Sprout team member7 minThe process and os modules (versions, platform, memory, CPUs, timing), how the fs module is organized (callback, Sync, promise, file descriptor and FileHandle variants), building and checking paths safely with node:path, and reading files whole, line by line or by byte range.
kvi5hnuCode Sprout team member6 minWrite to Node streams correctly: write() and end(), what a false return means, waiting for drain, the cost of ignoring backpressure, flowing vs paused reading modes, implementing custom Readable and Writable streams, destroy and errors, and converting to and from web streams.
kvi5hnuCode Sprout team member6 minProcess data piece by piece instead of all at once: why streams matter, the four stream types, binary, string and object mode, connecting streams with pipe and stream/promises pipeline, writing custom Transform streams, reading with for await, and Readable.from with stream helpers.
kvi5hnuCode Sprout team member6 minHow Node's event-based APIs work: EventEmitter and subclassing it, on/once/off/prependListener, why emit() is synchronous, this in listeners, the special "error" event, listener leaks and limits, events.once and events.on for async code, and Node's EventTarget.
kvi5hnuCode Sprout team member6 minWork with raw bytes in Node: Buffer as a Uint8Array subclass, creating buffers, encodings (utf8, hex, base64, latin1), byte vs string length, reading and writing numbers with endianness, shared-memory slices, concatenation and split characters.
kvi5hnuCode Sprout team member6 minWhy Node is non-blocking by default and how to use its three API styles: error-first callbacks, promise APIs and util.promisify, and Sync functions. Then the event loop's phases, process.nextTick vs microtasks, setImmediate vs setTimeout, blocking pitfalls and the libuv thread pool.
kvi5hnuCode Sprout team member7 minStart writing server-side JavaScript: what Node is (V8 plus libuv), versions and LTS, running scripts, stdout vs stderr, process.argv and util.parseArgs, environment variables and .env files, life cycle, exit codes, signals, fatal errors, CommonJS vs ES modules, require(esm) and npm.
kvi5hnuCode Sprout team member9 minA capstone for the browser part: compute the Mandelbrot set in parallel tiles with a worker pool, transfer typed arrays, paint ImageData on a canvas, zoom with pointer and wheel events, keep the view in the URL, then tour other web platform APIs worth knowing.
kvi5hnuCode Sprout team member8 minRun JavaScript off the main thread: creating classic and module workers, the worker global scope, the execution model, errors, MessageChannel, structured clone vs transfer, a promise-based RPC wrapper, SharedArrayBuffer and Atomics, cross-window postMessage and BroadcastChannel.
kvi5hnuCode Sprout team member9 min