Search results

32 packages found

Detect Filetype by bytes

published version 1.11.0, a day ago65 dependents licensed under $MIT
1,025,637

An async libmagic binding for node.js for detecting content types by data inspection

published version 0.5.3, 6 years ago168 dependents
228,212

WASM compiled version of libmagic

published version 1.0.3, 2 months ago2 dependents licensed under $BSD-2-Clause
11,866

An async libmagic binding for node.js for detecting content types by data inspection

published version 0.5.5, 10 months ago1 dependents
10,764

Identifies file types based on magic bytes, patterns, and other unique file attributes.

published version 1.0.4, 2 months ago4 dependents licensed under $MIT
6,996

sniff the start of a stream (non-destructively) to detect the file type and encoding

published version 2.3.0, 4 years ago17 dependents licensed under $MIT
3,903

Detect content-type from Buffer data.

published version 1.0.0, 7 years ago8 dependents licensed under $MIT
4,923

Detect the file type of a Buffer/Uint8Array/ArrayBuffer

published version 1.0.8, 2 years ago2 dependents licensed under $MIT
2,298

Detect docx file type from buffer

published version 0.0.3, 9 years ago8 dependents licensed under $ISC
1,737

Detect file type from 'Magic' Bytes

published version 1.0.5, 3 years ago0 dependents licensed under $ISC
621

File extractor to get real extension of file given by checking through the file's signature

published version 1.0.3, 10 months ago1 dependents licensed under $MIT
93

An async libmagic binding for node.js for detecting content types by data inspection

published version 0.5.4, 6 months ago0 dependents
89

Detect filetype from some byte string.

published version 1.0.1, 2 years ago0 dependents licensed under $ISC
83

filetype.js get the type of file by extension name using node.js

published version 1.1.5, 3 years ago0 dependents licensed under $MIT
69

An async libmagic binding for node.js for detecting content types by data inspection

published version 0.5.5, 10 months ago1 dependents
51

FileTypeIcon for LobeHub

published version 1.0.0, 10 months ago0 dependents licensed under $MIT
39

Detect content-type from Buffer data.

published version 0.0.1, 12 years ago0 dependents licensed under $MIT
32

sniff whether an object is geojson

published version 1.0.2, 7 years ago3 dependents licensed under $ISC
27

File extractor to get real extension of file given by checking through the file's signature

published version 1.0.7, 2 years ago0 dependents licensed under $ISC
25

sniff the start of a stream (non-destructively) to detect the file type and encoding

published version 2.4.2, 10 months ago0 dependents licensed under $MIT
21