magic-bytes icon indicating copy to clipboard operation
magic-bytes copied to clipboard

A library for detecting file types.

Results 16 magic-bytes issues
Sort by recently updated
recently updated
newest added

Now the mov file is the same as mp4. Is it possible to support mov?

Bumps [ansi-regex](https://github.com/chalk/ansi-regex) from 3.0.0 to 3.0.1. Commits f545bdb 3.0.1 c57d4c2 fix a few old XO issues for backport 419250f Fix potential ReDoS (#37) See full diff in compare view [![Dependabot...

dependencies

Bumps [tmpl](https://github.com/daaku/nodejs-tmpl) from 1.0.4 to 1.0.5. Commits See full diff in compare view [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=tmpl&package-manager=npm_and_yarn&previous-version=1.0.4&new-version=1.0.5)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...

dependencies

Bumps [mixme](https://github.com/adaltas/node-mixme) from 0.5.1 to 0.5.4. Changelog Sourced from mixme's changelog. 0.5.4 (2021-09-21) Bug Fixes remove constructor from excluded properties (cf6af53) 0.5.3 (2021-09-21) Bug Fixes relax properties excluded from copy...

dependencies

Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6. Commits 7efb22a 1.2.6 ef88b93 security notice for additional prototype pollution issue c2b9819 isConstructorOrProto adapted from PR bc8ecee test from prototype pollution PR See full...

dependencies

Hi, I just tried 1.0.6 and according to the docs there should be a module in `node_modules/magic-bytes.js/dist/browser.js` but there isn't. Has this changed and you forgot to update the docs...

Bumps [minimist](https://github.com/minimistjs/minimist) from 1.2.5 to 1.2.7. Changelog Sourced from minimist's changelog. v1.2.7 - 2022-10-10 Commits [meta] add auto-changelog 0ebf4eb [actions] add reusable workflows e115b63 [eslint] add eslint; rules to enable...

dependencies

Allow library's user to dynamically register its own file type using `register` method. This could be useful for custom file format that needs to be accepted in a NodeJS server...

Hi, thanks for the nice lib. can you please add for the csv file? `text/csv` ![image](https://github.com/LarsKoelpin/magic-bytes/assets/33569737/0c7b075b-2ced-42e0-8085-57311843ec27) Thanks

Was hoping to add in a few more file types to this lib. **pcap** `hex: D4 C3 B2 A1` & `hex: A1 B2 C3 D4` ext: pcap mime: 'application/vnd.tcpdump.pcap' **cfbf**...