Secure, Modern, and Cross-Platform Cryptography Helpers for Web, Node.js, Deno, Bun, and Cloudflare Workers.
- π‘οΈ Secure and Flexible - Uses best practices and modern cryptographic techniques, while providing a flexible and simple API.
- π¦ All-in-One Toolkit β Combines encryption, hashing, encoding, serialization, and more into a single package.
- π Cross-Platform β Works seamlessly across Web, Node.js, Deno, Bun, and Cloudflare Workers.
- π‘ Typed and Ergonomic - Type-safe API with both throwing and non-throwing (
Result) flavors. - π³ Tree-Shakable - Import from the root or from platform-specific entry points to keep bundles lean.
- π« Zero Dependencies β Fully self-contained, no external libraries required.
- πΌ Explain Like I'm Five - Newbie-friendly explanations and documentation.
π View README β
Reliable, Cross-Platform Compression & Decompression for Web, Node.js, Deno, Bun and Cloudflare Workers
- π Strong Compression β Achieves size reductions of ~30% to 90% on typical text and JSON data using the Deflate algorithm via
pako. - π Lossless Algorithms β Ensures perfect reconstruction of the original data.
- π§ͺ Strict Validation - Robust input checks and type validation for predictable results.
- π Cross-Platform β Works seamlessly in Web, Node.js, Deno, Bun and Cloudflare Workers.
- π‘ Typed and Ergonomic - Type-safe API with both throwing and non-throwing (
Result) flavors. - πΌ Explain Like I'm Five - Newbie-friendly explanations and documentation.
π View README β
A Lightweight Utility for Extracting the Real Client IP Address from Incoming HTTP Requests
- π Header-Aware Detection β Parses standard and cloud-specific proxy headers.
- π§ Smart Parsing β Handles multiple IPs, comma-separated values, and arrays.
- π§© Middleware-Compatible β Use as drop-in Express/NestJS middleware.
- πͺπ½ Works in Standalone Mode β Can be used as a simple function.
π View README β
Effortless HTTPS certificate generation for local development environments.
- π Automatic Certificate Generation β Creates valid self-signed certificates for
localhost. - π Reusability β Automatically detects and reuses existing certs if they exist.
- π§ͺ Development-Ready β Ideal for testing HTTPS locally without browser complaints.
- π‘ Minimal Setup β No OpenSSL or third-party installations required.
- π§© Framework Friendly β Easily integrates with Express, NestJS, and other Node.js frameworks.
π View README β
A Lightweight and Modern Cookie Utility for Express and Nest.js
- π‘ Simple API β Intuitive functions
setCookie,getCookie, anddeleteCookiefor effortless cookie management. - π¨ Built on Reliability β Uses the proven cookie library for RFC-compliant parsing and serialization.
- β Graceful Error Handling β Returns
falseon failures and provides alogErrorflag for optional console logging. - π‘οΈ Security-Aware Defaults β Automatically enforces rules for special prefixes:
__Secure-and__Host-.
π View README β
This monorepo uses modern tooling to ensure a smooth development experience:
- TypeScript - Strongly typed JavaScript for better maintainability.
- PNPM - Fast, disk-efficient package manager.
- Turborepo - High-performance build system for monorepos.
- Tsup - Zero-config bundler for TypeScript projects.
- Biome - Linter, formatter, and type checker for JavaScript/TypeScript.
- Vitest - Fast and lightweight test runner.
Want to contribute or suggest a feature or improvement?
- Open an issue or feature request
- Submit a PR to improve the packages or add new ones
- Star β the repo if you like what you see