Showing 1-20 of 34,012 packages
Detect and validate file types by their signatures (✨magic numbers✨)
Typescript character code enumeration. Lets you avoid using magic numbers. Great for parsers.
Magic Numbers for Unit Conversion
Plugin for stylelint with magic number rule
Constants, magic numbers, and utilities
A mime sniffer that uses file magic numbers rather than unsecure extensions.
Magic Numbers (primes, fibs, etc.)
In memory mime sniffer without depencies (using the files magic numbers)
Constants to compute with time units without magic numbers.
Stop using magic numbers for time related values
identify file type by file magic numbers.
A set of compression algorithms used by CloudPSS. Auto detect algorithm by magic number. Be carful when handling binary files since their data might be confusing with magic numbers of compressed data.
no-magic-numbers enhanced
Filetypes is a library that helps you guess the file and mine types of files using magic numbers
Modify strings, generate sourcemaps
Stop using magic numbers for time related values
Detect the file type of a file, stream, or data
Some useful utilities I often need
npm package for generating its file-type on basis of magic numbers!!
Detect Filetype by bytes