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
181 forks
Language: Go
last commit: over 2 years ago
Linked from 2 awesome lists

binarydiscoveryextensionfiletypegolanglookupmagic-numbermagic-numbersmimemime-typesvalidation

Backlinks from these awesome lists:

Related projects:

RepositoryDescriptionStars
gabriel-vasile/mimetypeA fast and precise MIME type detection library for Go.1,695
aofei/mimesnifferA MIME type sniffer written in Go that determines the type of given data based on its file signature or content type.33
mikekonan/go-typesProvides Go implementations of common data types used in international data transfer and validation19
eun/go-convertA utility package for converting data between different types and structures in Go programming language22
corona10/goimghdrDetermines the type of image contained in a file40
sindresorhus/file-type-cliDetects the type of file or input provided74
bevry/istextorbinaryDetermines if a filename or buffer is text or binary with an extension check and contents analysis148
bcheidemann/entypeGenerates type definitions for serialized data formats like JSON3
rocktimsaikia/mime-type-checkA tool that provides a list of available MIME types for a given file extension5
iancmcc/bingoFast and efficient encoding and decoding of native Go types to bytes41
openchainxyz/abi-guesserA tool that takes encoded data and attempts to infer the types of its components282
eaigner/shieldA flexible Bayesian text classifier with backend storage support158
mirage/conanRe-implementation of a file recognition engine with support for multiple MIME types and decision trees.48
ghostiam/binstructDecodes binary data into structured format99
henry-sarabia/sliceconvA package providing functions to convert between string representations of primitive types and their corresponding Go types on slices.10