Unicode aware string truncation that given a max byte size will truncate the string to or just below that size
Truncate a string to a specific width in the terminal
Truncate string to given length in bytes
Get utf8 byte length of string
Strip UTF-8 byte order mark (BOM) from a string
Get the byte length of an ArrayBuffer, even in engines without a `.byteLength` method.
Robustly get the byte length of a Typed Array
Robustly get the byte offset of a Typed Array
Get the byteLength out of a DataView, robustly.
Get the byteOffset out of a DataView, robustly.
Truncate a semver version: `1.2.3` → `1.2.0`
Strip UTF-8 byte order mark (BOM) from a Uint8Array
Strip UTF-8 byte order mark (BOM) from a stream
Reads / writes floats / doubles from / to buffers in both modern and ancient browsers.
The lodash method `_.truncate` exported as a module.
Truncates precision of GeoJSON coordinates.
pure-JS library to handle codepages
Regular expression for matching semver versions
Compile ES2015 Unicode regex to ES5
Detect whether the terminal supports Unicode
Convert a string to a valid safe filename
Compile regular expressions' unicodeSets (v) flag.
Truncate a JSON string
URL and cookie safe UIDs
No description provided.
No description provided.