Lightweight, type-safe structured logging with correlation context for Node.js and Edge Runtime.
-
Updated
Aug 2, 2026 - TypeScript
Lightweight, type-safe structured logging with correlation context for Node.js and Edge Runtime.
String utilities: formatting, casing, trim, slugify (Node and Edge).
Backend misc: singleton, debounce, throttle, LRU, polling, intervals, enums, once, memoize (Node and Edge).
Debounce, throttle, once, pipe, and compose with TypeScript inference (Node and Edge).
Next.js App Router helpers: safe server actions, route handlers, request context, middleware.
PubSub, observer, and typed event emitter (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).
Typed API client with Zod validation, handler registry, and middleware (Node and Edge).
Typed error classes, error codes, and serializeError for logging and RPC (Node and Edge).
Typed factory builder, singleton factory, and error factory helpers (Node and Edge).
Typed file I/O: readFileUtf8, readFileJson, writeFile, ensureDir for Node.js.
Zustand store helpers: factory, persist, devtools, slices (Node and Edge).
Typed metadata store and annotation helpers for symbols and keys (Node and Edge).
Adapter helpers, logger and cache adapter interfaces (Node and Edge).
Lightweight, type-safe environment variable utilities for Node.js and Edge Runtime.
Number utilities: clamp, roundTo, toInt/Float, isInRange, lerp, sum, avg (Node and Edge).
Hash, randomBytes, and timing-safe compare for Node.js.
Algorithms: stable merge sort, quick sort, binary search, lower/upper bound (Node and Edge).
Time utilities: debounce, throttle, interval manager, managed timeout (Node and Edge).
To associate your repository with the simpill topic, visit your repo's landing page and select "manage topics."