Sarcastic, witty responses for HTTP status codes. Perfect for adding humor to APIs.
Constants enumerating the HTTP status codes. Based on the Java Apache HttpStatus API.
Interact with HTTP status code
The map of HTTP status codes from the builtin http module
HTTP status utility
Utility to lookup HTTP status codes
Library to easily style texts with string formatting
Module Federation Error Codes
Get the visual width of a string - the number of columns required to display it
Strip ANSI escape codes from a string
Node.js Adapter for Hono
Safely flatten a nested JavaScript object.
QRCode / 2d Barcode api with both server side and client side support using canvas
Get the real length of a string - by correctly counting astral symbols and ignoring ansi escape codes
Lookup currency codes based on ISO 4217
Check if a string has ANSI escape codes
No description provided.
Get the visual width of the widest line in a string - the number of columns required to display it
Regular expression for matching ANSI escape codes
List of codes per country (languages, calling codes, currency codes, etc) with full TypeScript support.
Slice a string with ANSI escape codes
Create errors with code and cause properties
assert with status codes
A tiny and fast text wrap library which takes ANSI escapes into account.