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 error classes, error codes, and serializeError for logging and RPC (Node and Edge).
Debounce, throttle, once, pipe, and compose with TypeScript inference (Node and Edge).
String utilities: formatting, casing, trim, slugify (Node and Edge).
Typed file I/O: readFileUtf8, readFileJson, writeFile, ensureDir for Node.js.
Typed factory builder, singleton factory, and error factory helpers (Node and Edge).
Typed API client with Zod validation, handler registry, and middleware (Node and Edge).
Composable design patterns: Result/Either, strategySelector, pipeAsync (Node and Edge).
Type-safe LinkedList, Queue, Stack, LRU/TTL, MultiMap, BiMap—no full collections lib (Node and Edge).
Backend misc: singleton, debounce, throttle, LRU, polling, intervals, enums, once, memoize (Node and Edge).
Zustand store helpers: factory, persist, devtools, slices (Node and Edge).
PubSub, observer, and typed event emitter (Node and Edge).
Typed metadata store and annotation helpers for symbols and keys (Node and Edge).
Next.js App Router helpers: safe server actions, route handlers, request context, middleware.
Array utilities: unique, chunk, compact, groupBy, sortBy, flattenOnce (Node and Edge).
AsyncLocalStorage request context (requestId, traceId) for Node.js logging and tracing.
Number utilities: clamp, roundTo, toInt/Float, isInRange, lerp, sum, avg (Node and Edge).
Hash, randomBytes, and timing-safe compare for Node.js.
Shared protocol constants and types for HTTP, correlation, and env parsing (Node and Edge).
Token optimization utilities: cleaning, strategies, telemetry (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."