Skip to main content
current (v2.x.x)

Utilities

A comprehensive set of utility functions for Node.js and TypeScript projects. Includes helpers for arrays, objects, strings, streams, requests, responses, performance, caching, environment, validation, and more. All modules are fully typed and documented.

Modules

  • Array – Array manipulation and transformation functions
  • Async – Promise helpers, concurrency, and timing
  • Cache – In-memory caching with TTL support
  • Context Store – Per-request context using AsyncLocalStorage
  • Crypto – Hashing, encryption, and token functions
  • Date – Date and time manipulation functions
  • Decorator – TypeScript decorators for Express
  • Directory – Directory and file system helpers
  • Environment – Environment variable management
  • Exception – HTTP and general error handling
  • File System – File operations and utilities
  • HTTP Status Codes – Typed HTTP status codes
  • ID – UUID and ID generation functions
  • Logger – Structured logging with Pino
  • Middleware – Express middleware collection
  • Object – Object manipulation and deep merge
  • Performance – Timing, memoization, and memory tracking
  • Request – HTTP request parameter parsing and validation
  • Response – Standardized API response formatting
  • Stream – Stream conversion, batching, throttling, and line splitting
  • String – String formatting, casing, masking, and transformation
  • Type – Type checking, conversion, and type guards
  • URL – URL parsing, query manipulation, and normalization
  • Validation – Input validation functions

Explore each module for detailed API documentation and usage examples.