pvtsutils is a set of common utility functions used in various Peculiar Ventures TypeScript based projects.
TypeScript definitions for utf8
file streams that roll over when size limits, or dates are reached
A Node.JS UTF-8 string <-> UInt8Array converter
render domhandler DOM nodes to a string
Compress JSON in URL friendly strings
Convert bytes to a human readable string: 1337 → 1.34 kB
TypeScript definitions for bytes
Detect Filetype by bytes
buffer operations
truncate UTF-8 strings to a given binary size
A compact library to encode, decode and convert UTF8 / UTF16 in JavaScript.
Detects if a file is binary in Node.js. Similar to Perl's -B.
protobuf-style varint bytes - use msb to create integer values of varying sizes
Byte encoding utils
RFC9562 UUIDs
Extremely fast utf8 only stream implementation
Cryptographic key pairs for the XRP Ledger
Encode & decode XML and HTML entities with ease & speed
random bytes from browserify stand alone
Encode and decode base64 encoded strings
Utf8 bytes array from/to string.
An iteration of the Node.js core streams with a series of improvements
A bcrypt library for NodeJS.