Search results
1000+ packages found
Sort by: Default
- Default
- Most downloaded this week
- Most downloaded this month
- Most dependents
- Recently published
An async libmagic binding for node.js for detecting content types by data inspection
Detect and validate file types by their signatures (✨magic numbers✨)
Types and utilities to handle uploaded files & images in Prezly
Human-friendly taxonomy for file types
An async libmagic binding for node.js for detecting content types by data inspection
Read and write binary types in files
A comprehensive library for mime-type mapping
Type checking for package.json
Light promisified wrapper for FS module with detailed types for TypeScript
vfile utility to create a virtual message
vfile utility to convert between positional (line and column-based) and offset (range-based) locations
Matches strings against configurable strings, globs, regular expressions, and/or functions
Better streaming static file server with Range and conditional-GET support
require-dir for all file types
Detect the archive type of a Buffer/Uint8Array
vfile utility to create a report for a file
vfile utility to sort messages by line/column
vfile utility to count messages per category: failures, warnings, etc
A function to recursively extract files and their object paths within a value, replacing them with null in a deep clone without mutating the original value. FileList instances are treated as File instance arrays. Files are typically File and Blob instance
Regular expression for testing if a file path is a windows UNC file path. Can also be used as a component of another regexp via the `.source` property.