A utility package for JavaScript applications.
Reads / writes floats / doubles from / to buffers in both modern and ancient browsers.
Get utf8 byte length of 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.
Platform float word order.
Platform byte order.
Use flow-relative (inline-start and inline-end) values for float and clear
Count bytes passing through a stream
Convert a bytes or octets value (e.g. 34565346) to a human-readable string ('34.6 MB'). Choose between metric or IEC units.
Unicode aware string truncation that given a max byte size will truncate the string to or just below that size
Strip UTF-8 byte order mark (BOM) from a string
Windows legacy GUID parser
文の敬体(ですます調)、常体(である調)を解析
Implements the WebIDL algorithms for converting to and from JavaScript values
See our api docs https://serialport.io/docs/api-parser-byte-length
Sniff the encoding from a HTML byte stream
Node addon for string extraction for msgpackr
See our api docs https://serialport.io/docs/api-parser-inter-byte-timeout
RC4 random number generator
Floating tooltip component