Lightweight, type-safe structured logging with correlation context for Node.js and Edge Runtime.
-
Updated
Mar 7, 2026 - TypeScript
Lightweight, type-safe structured logging with correlation context for Node.js and Edge Runtime.
Typed factory builder, singleton factory, and error factory helpers (Node and Edge).
Zustand store helpers: factory, persist, devtools, slices (Node and Edge).
Typed API client with Zod validation, handler registry, and middleware (Node and Edge).
PubSub, observer, and typed event emitter (Node and Edge).
Debounce, throttle, once, pipe, and compose with TypeScript inference (Node and Edge).
Backend misc: singleton, debounce, throttle, LRU, polling, intervals, enums, once, memoize (Node and Edge).
Type-safe LinkedList, Queue, Stack, LRU/TTL, MultiMap, BiMap—no full collections lib (Node and Edge).
Composable design patterns: Result/Either, strategySelector, pipeAsync (Node and Edge).
Typed error classes, error codes, and serializeError for logging and RPC (Node and Edge).
Typed file I/O: readFileUtf8, readFileJson, writeFile, ensureDir for Node.js.
Typed metadata store and annotation helpers for symbols and keys (Node and Edge).
String utilities: formatting, casing, trim, slugify (Node and Edge).
Next.js App Router helpers: safe server actions, route handlers, request context, middleware.
Shared protocol constants and types for HTTP, correlation, and env parsing (Node and Edge).
Token optimization utilities: cleaning, strategies, telemetry (Node and Edge).
Lightweight, type-safe environment variable utilities for Node.js and Edge Runtime.
Adapter helpers, logger and cache adapter interfaces (Node and Edge).
Hash, randomBytes, and timing-safe compare for Node.js.
Number utilities: clamp, roundTo, toInt/Float, isInRange, lerp, sum, avg (Node and Edge).
Add a description, image, and links to the simpill topic page so that developers can more easily learn about it.
To associate your repository with the simpill topic, visit your repo's landing page and select "manage topics."