An npm library to sniff the file format of a binary buffer.
Prebuilt binary package for `sniff-bytes` on `darwin-arm64`.
Prebuilt binary package for `sniff-bytes` on `darwin-x64`.
Prebuilt binary package for `sniff-bytes` on `win32-arm64-msvc`.
Prebuilt binary package for `sniff-bytes` on `linux-x64-gnu`.
Prebuilt binary package for `sniff-bytes` on `linux-arm-gnueabihf`.
Prebuilt binary package for `sniff-bytes` on `android-arm-eabi`.
Prebuilt binary package for `sniff-bytes` on `win32-x64-msvc`.
Parses, serializes, and manipulates MIME types, according to the WHATWG MIME Sniffing Standard
Implementation of the HTML encoding sniffer algo, with stream support
Utility to parse a string bytes to bytes and vice-versa
Middleware to prevent mimetype from being sniffed
Various operations on Uint8Array data
An iteration of the Node.js core streams with a series of improvements
Sniff the encoding from a HTML byte stream
URL and cookie safe UIDs
Convert bytes to a human readable string: 1337 → 1.34 kB
A minimal UTF8 implementation for number arrays.
Truncate string to given length in bytes
Detect Filetype by bytes
> Even though this module is publicly accessible, we do not recommend using it in projects outside of [Transloadit](https://transloadit.com). We won't make any guarantees about its workings and can change things at any time, we won't adhere strictly to Se
Detects if a file is binary in Node.js. Similar to Perl's -B.
Browser/engine/os/device detection tool
Byte buffer specialized for data in chunks with special cases for dropping bytes in the front, merging bytes in to various integer types and abandoning buffer without penalty for previous chunk merges.