trim-repeated
Trim a consecutively repeated substring: foo--bar---baz → foo-bar-baz
Trim a consecutively repeated substring: foo--bar---baz → foo-bar-baz
mdast utility to make a tree compact
Safely remove repeating whitespace from HTML text.
JWA, JWS, JWE, JWT, JWK, JWKS for Node.js, Browser, Cloudflare Workers, Deno, Bun, and other Web-interoperable runtimes
The lodash method `_.compact` exported as a module.
The best of both `JSON.stringify(obj)` and `JSON.stringify(obj, null, indent)`.
The fastest smallest Javascript polyfill for the encode of TextEncoder and decode of TextDecoder for UTF-8 only. Made by AnonyCo with ❤️ from 🐕s.
Remove leading, trailing, and repeated whitespace from a string
Casts the given value to a flatten array, and removes falsey items (similar to lodash compact).
JSON Web Almost Everything - JWA, JWS, JWE, JWK, JWT, JWKS for Node.js with minimal dependencies
Convert BitTorrent compact hostname & port buffer to a string 'hostname:port'
Convert 'hostname:port' strings to BitTorrent's compact ip/host binary returned by Trackers
Additional mongoose schema validations
Remove object keys that have empty values.
Recursively compacts collection values (arrays and objects), removing empty values from your arrays & objects
Encode UUIDs into Base36 or any other system
The best of both `JSON.stringify(obj)` and `JSON.stringify(obj, null, indent)`.
Ultra-fast MessagePack for NodeJS & Browsers
Base64 encoding and decoding for Node.JS and browsers without polyfills
The fastest smallest Javascript polyfill for the encode of TextEncoder and decode of TextDecoder for UTF-8 only. Made by AnonyCo with ❤️ from 🐕s.