Identifies file types based on magic bytes, patterns, and other unique file attributes.
Lightning-fast file type detection using magic bytes (file signatures) with a focus on stream processing and minimal memory usage
Detect file type from 'Magic' Bytes
Detect Filetype by bytes
n8n node for detecting file types using magic bytes analysis
Production-grade secure file upload middleware for Node.js — magic bytes, ZIP bomb & polyglot detection, virus scanning, multi-storage, and React UI components
Production-grade secure file upload middleware for Node.js — magic bytes, ZIP bomb & polyglot detection, virus scanning, multi-storage, and React UI components
No description provided.
Modify strings, generate sourcemaps
Detect file types using magic bytes in Node.js
Minimalist yEnc and dynEncode encoder and decoder library for browser and NodeJS
Utility to parse a string bytes to bytes and vice-versa
Some useful utilities I often need
Detect real file type by analyzing magic bytes - secure and reliable
A lightweight library to determine a file's type based on its magic bytes.
Various operations on Uint8Array data
CLI & API for secure file upload validation: check file type (magic bytes, MIME), detect Office macros/malware, audit logging, parallel scanning, and CI/CD integration.
A compiled-away, type-safe, readable RegExp alternative
magic-string with AST shortcut.
A collection of utilities for working with JSON objects, including diffing, conflict resolution, bundling and more.
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
Network magic bytes for Bitcoin, Litecoin, Namecoin and Dogecoin.
MIME type lookup, detection and reverse lookup CLI tool
Bismark-aware BAM/SAM/CRAM I/O on top of noodles
Small Crate to infer various media containers. Works by reading Magic Bytes.
Symphonia-backed audio decoder for OxiAudio
A unified file handling library for working with files from local filesystem, S3, URLs, and streams.
High-throughput file transfer over high-latency internet links
Compile model weight files to standalone executable binaries
I/O layer for OxiMedia
MCP server that dispatches prompts to peer LLM CLIs (codex/gemini/minimax/claude) and returns verdict-parsed output.
Content inspection pipeline for Agent Exchange Protocol (AEX): size, magic-bytes, EICAR, regex prompt-injection.
WebAssembly binary magic-byte, version-byte, marker, and header validation primitives.
Basic file type checks based on a few header bytes
Detect MIME types from file extensions, filenames, and binary content using magic byte signatures. Includes 200+ extension mappings, 30+ magic byte patterns, custom registration, charset detection, Accept header parsing, and content negotiation.
Tool to parse the first bytes of a file and compare it to a list of known mime types.
Extend ActionDispatch::HTTP::UploadedFile to detect file type from magic byte
MimeTyper is a comprehensive, pure Ruby MIME type detection library that uses magic bytes and file extensions to accurately identify file types. Built for reliability and simplicity.
A simple Gem to enable any `ActiveRecord::Base` object to store a set of attributes in a set like structure represented through a bitfield on the database level. You only have to specify the name of the set to hold the attributes in question an the rest is done for you through some fine selected Ruby magic. Here is a simple example of how you could use the gem: class Person < ActiveRecord::Base has_set :interests end To get this to work you need some additional work done first: 1. You need an unsigned 8-Byte integer column in your database to store the bitfield. It is expected that the column is named after the name of the set with the suffix `_bitfield` appended (e.g. `interests_bitfield`). You can change that default behavior by providing the option `:column_name` (e.g. `has_set :interests, :column_name => :my_custom_column`). 2. You need a class that provides the valid values to be stored within the set and map the single bits back to something meaningful. The class should be named after the name of the set (you can change this through the `:enum_class` option). This class could be seen as an enumeration and must implement the following simple interface: * There must be a class method `values` to return all valid enumerators in the defined enumeration. * Each enumerator must implement a `name` method to return a literal representation for identification. The literal must be of the type `String`. * Each enumerator must implement a `bitfield_index` method to return the exponent of the number 2 for calculation the position of this enumerator in the bitfield. **Attention** Changing this index afterwards will destroy your data integrity. Here is a simple example of how to implement such a enumeration type while using the the `renum` gem for simplicity. You are free to use anything else that matches the described interface. enum :Interests do attr_reader :bitfield_index Art(0) Golf(1) Sleeping(2) Drinking(3) Dating(4) Shopping(5) def init(bitfield_index) @bitfield_index = bitfield_index end end
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.