filetype

File type inferer

A package to infer file types and MIME types based on magic numbers header signatures.

Fast, dependency-free Go package to infer binary file types based on the magic numbers header signature

GitHub

2k stars
28 watching
177 forks
Language: Go
last commit: 8 months ago
Linked from 2 awesome lists

binarydiscoveryextensionfiletypegolanglookupmagic-numbermagic-numbersmimemime-typesvalidation

Backlinks from these awesome lists:

Related projects:

Repository Description Stars
gabriel-vasile/mimetype A fast and precise MIME type detection library for Go. 1,672
aofei/mimesniffer A MIME type sniffer written in Go that determines the type of given data based on its file signature or content type. 33
mikekonan/go-types Provides Go implementations of common data types used in international data transfer and validation 19
eun/go-convert A utility package for converting data between different types and structures in Go programming language 22
corona10/goimghdr Determines the type of image contained in a file 40
sindresorhus/file-type-cli Detects the type of file or input provided 74
bevry/istextorbinary Determines if a filename or buffer is text or binary with an extension check and contents analysis 148
bcheidemann/entype Generates type definitions for serialized data formats like JSON 3
rocktimsaikia/mime-type-check A tool that provides a list of available MIME types for a given file extension 5
iancmcc/bingo Packs and unpacks common data types in a fast and efficient way 41
openchainxyz/abi-guesser A tool that takes encoded data and attempts to infer the types of its components 282
eaigner/shield A flexible Bayesian text classifier with backend storage support 158
mirage/conan Re-implementation of a file recognition engine with support for multiple MIME types and decision trees. 48
ghostiam/binstruct Decodes binary data into structured format 97
henry-sarabia/sliceconv A package providing functions to convert between string representations of primitive types and their corresponding Go types on slices. 10