Read and write arbitrary bytes over a duplex stream
Sniff the encoding from a HTML byte stream
Strip UTF-8 byte order mark (BOM) from a string
Convert Node Readable to Web API ReadableStream
fs read and write streams based on minipass
Strip UTF-8 byte order mark (BOM) from a stream
Get the byteLength out of a DataView, robustly.
Robustly get the byte offset of a Typed Array
Robustly get the byte length of a Typed Array
Get the byteOffset out of a DataView, robustly.
fs read and write streams based on minipass
ByteStream is a library making possible to manipulates single bytes and bits on pure JavaScript
Strip UTF-8 byte order mark (BOM) from a Uint8Array
Get the byte length of an ArrayBuffer, even in engines without a `.byteLength` method.
Count bytes passing through a stream
Split email messages into an object stream
Implementation of the HTML encoding sniffer algo, with stream support
A module for creating a node style stream over a WebExtension port object.
Reads / writes floats / doubles from / to buffers in both modern and ancient browsers.
Node addon for string extraction for msgpackr
Node.js package to access serial ports. Linux, OSX and Windows. Welcome your robotic JavaScript overlords. Better yet, program them!
tar-stream is a streaming tar parser and generator and nothing else. It operates purely using streams which means you can easily extract/parse tarballs without ever hitting the file system.
Simple, tiny and fast ZIP library. It has our own DEFLATE compressor and decompressor (alternative to pako.js / ZLIB). It was made from scratch, without using existing implemetnations.
Read and write length-prefixed byte arrays over a duplex stream
Linefeed turns a push-style byte stream, of any chunk size, into individually yielded lines.
Uchardet tries to guess the encoding of a byte stream.
This gem makes it possible to build filters or pipelines for processing data into or out of streams of bytes while maintaining compatibility with native Ruby IO classes. Ruby IO classes may function as both sources and sinks, or entirely new IO implementations may be created.
Read a byte stream from your enumerable
tlsh is a fuzzy matching library, which hashes can be used for similarity comparison. Given a byte stream with a minimum length of 256 bytes, TLSH generates a hash value which can be used for similarity comparisons. Similar objects will have similar hash values which allow for the detection of similar objects by comparing their hash values. The computed hash is 35 bytes long (output as 70 hexadecimal characters). The first 3 bytes are used to capture the information about the file as a whole (length, ...), while the last 32 bytes are used to capture information about incremental parts of the file.
Huespace can extract a color palette from local images, url-s or images as byte-streams. Besides palettes, it can also extract the most dominant color and the most colorful color!