file-type
File Detector
Detects file type by checking the magic number of a buffer or stream.
Detect the file type of a file, stream, or data
4k stars
30 watching
356 forks
Language: JavaScript
last commit: 2 months ago
Linked from 1 awesome list
bufferdetectfilefile-typesjavascriptmagicmagic-numbersnodejsuint8array
Related projects:
Repository | Description | Stars |
---|---|---|
| Detects the type of file or input provided | 74 |
| Detects the type of an image from a binary buffer | 373 |
| Converts various input types into readable streams. | 207 |
| A utility library to check if an object is a Node.js stream | 111 |
| Converts a string or binary data into a stream for piping to other tools | 90 |
| Determines if a filename or buffer is text or binary with an extension check and contents analysis | 148 |
| A package to infer file types and MIME types based on magic numbers header signatures. | 2,136 |
| A utility for determining the type of a value at compile-time or runtime | 1,687 |
| Creates a stream producing cryptographically strong pseudo-random data | 76 |
| A plugin for Gulp that only processes files that have changed since the last run. | 742 |
| A utility to serve static files in Electron apps | 441 |
| A plugin for Gulp that enables filtering of file streams using glob patterns | 315 |
| A tool to find the latest version of an npm package | 53 |
| Creates streams with minimal data production or discarding of received data. | 52 |
| A tool to report the total size of files in a project during build processes | 229 |