Detect the file type of a file, stream, or data
-
Updated
Sep 10, 2024 - JavaScript
Detect the file type of a file, stream, or data
Magic number detection for JavaScript
Small library to quickly compare two blobs based on blob attributes and fallback to binary string conversion
Filetypes is a Javascript library that helps you validate or guess the file and mine types of files using magic numbers
Check if a Buffer/Uint8Array is available for cwebp image source
A website that constructs magic squares
Check if a Buffer/Uint8Array is a MKV video
Check if a Buffer/Uint8Array is a 7Z archive
Check if a Buffer/Uint8Array is a RPM file
Inspect the HTTP cache of browsers or online game clients and preview image or audio assets of different formats using their file signatures.
Display matching byte sequences in file headers.
Find the MIME type of files in a directory via Node.js command-line and generate a .csv that lists all files and their filetypes.
Add a description, image, and links to the magic-numbers topic page so that developers can more easily learn about it.
To associate your repository with the magic-numbers topic, visit your repo's landing page and select "manage topics."