Easy-to-use TypeScript/Node.js package for referral codes, coupon codes, promo codes, and discount codes. Create, verify, and manage discount codes with MongoDB. Supports percentage discounts, fixed amount discounts, usage limits, and custom codes. Zero c
minimal implementation of a PassThrough stream
Detect whether a terminal supports color
Match balanced character pairs, like "{" and "}"
when you want to fire an event no matter how a process exits.
Turn a function into an `http.Agent` instance
RFC9562 UUIDs
Get callsites from the V8 stack trace API
Resolve a URI relative to an optional base URI
Get the first path that exists on disk of multiple paths
Get the first fulfilled promise that satisfies the provided testing function
Global identifiers from different JavaScript environments
The ultimate javascript content-type utility.
ES Math-related intrinsics and helpers, robustly cached.
Polyfill of future proposal for `util.parseArgs()`
Ignore is a manager and filter for .gitignore rules, the one used by eslint, gitbook and many others.
just emit 'log' events on the process object
User-friendly glob matching
A simple key/value storage using files to persist the data
A stand-alone types package for Undici
Run multiple promise-returning & async functions with limited concurrency
Generate errors that contain a code frame that point to source locations.
Check if something is a Node.js stream
Browser-friendly inheritance fully compatible with standard node.js inherits()