Truncate string to given length in bytes
TypeScript definitions for truncate-utf8-bytes
Get utf8 byte length of string
A minimal UTF8 implementation for number arrays.
Various operations on Uint8Array data
Detect if a buffer is utf8 encoded.
utf8 to/from bytes codec (esm/cjs)
Truncate a JSON string
Truncate a string to a specific width in the terminal
return an array of bytes from a unicode string
Unicode aware string truncation that given a max byte size will truncate the string to or just below that size
Codecs for strings of different sizes and encodings
A browser UTF-8 string <-> UInt8Array converter
Truncate a semver version: `1.2.3` → `1.2.0`
A pure JavaScript implementation of the AES block cipher and all common modes of operation.
Utility to parse a string bytes to bytes and vice-versa
A bcrypt library for NodeJS.
truncate UTF-8 strings to a given binary size
return the number of bytes in a unicode string
A Node.JS UTF-8 string <-> UInt8Array converter
The lodash method `_.truncate` exported as a module.
Truncates precision of GeoJSON coordinates.
Regular expression for matching semver versions
Turn a string into an ArrayBuffer by using the UTF8 encoding.