#modules
9 pages tagged modules.
PowerShell Modules
Install, discover, update, and author PowerShell modules: PowerShellGet, PSResourceGet, the Gallery, $PSModulePath, $PROFILE customisation, PSReadLine, SecretManagement, and the must-have module shortlist.
TypeScript Modules
Deep dive into TypeScript's module system — module/moduleResolution pairs, .mts/.cts file extensions, NodeNext vs Bundler resolution, paths, and tsconfig extends.
Go Modules
Cheat sheets for Go modules from pkg.go.dev — web frameworks, CLI builders, config, ORMs, and more.
DSPy
Build LLM programs in DSPy with declarative signatures, modules, and optimisers. Covers Predict, ChainOfThought, ReAct, BootstrapFewShot, COPRO, MIPRO, MIPROv2, and inference compilation.
Declaration Merging
Deep dive into TypeScript declaration merging — interface merging, namespace + class, namespace + function, module augmentation, global augmentation, and the Express Request pattern.
.d.ts Files
Authoring .d.ts files — ambient declarations, declare module 'foo', asset typing (*.svg?raw), declare global, triple-slash refs, and the home-hero.svg?raw pattern used in this project.
Type-Only Imports & Exports
import type and export type erase at compile time, preventing runtime side-effects and enabling better tree-shaking. Covers inline type qualifiers, verbatimModuleSyntax, and common gotchas with enums and namespaces.
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.