There are 2 repositories under magic-numbers topic.
Detect the file type of a Buffer/Uint8Array/ArrayBuffer
Tweak your iOS app without recompiling!
A fast Golang library for media type and file extension detection, based on magic numbers
Magic number detection for JavaScript
Small, dependency-free, fast Python package to infer binary file types checking the magic numbers signature
Magic number detector for Go.
The first Python validation package uses type, mime, extension, magic numbers, and size to validate files. ✅
Detect a file's mime type using magic numbers.
Small and dependency-free Julia package to infer file and MIME type checking the magic numbers signature.
Django audio validator that verifies the mime and extension of audio files.
File Type Checker is a .Net file identification library allowing developers to verify the file's magic numbers/identifying bytes against a whitelist.
little haxe library that detects various formats by parsing header or filename
Small library to quickly compare two blobs based on blob attributes and fallback to binary string conversion
FiSiPy is a tool used to analyse and check a file type using file signatures (magic numbers).
Comparison of Go MIME type detection libraries
A simple library to find mimetype of a file, stream or buffer array via magic numbers in the header content. It contains over 480 samples that as hardcoded in the library. Detect mimetype of an extension string or mimetype string like “rar”, “exe”,” image/gif” …. It is possible to add more mimetypes in the library to detect files related to them. In fact, this library finds the mimetype via magic numbers.(https://20devs.com/find-mimetype/)
A simple file inspector for video games
PRONOM, DROID Signature Development Utility source code.
Filetypes is a Javascript library that helps you validate or guess the file and mine types of files using magic numbers
👉 "PHP type names" contains the list of constants for all PHP data types, to avoid hardcoding them 👌
a Python package for the specification, validation and manipulation of file formats and types
A simple library for validating & checking file types. Written in V
Check if a Buffer/Uint8Array is available for cwebp image source
A website that constructs magic squares