file-type

Detect the file type of a Buffer/Uint8Array/ArrayBuffer

MIT License

Downloads
87.1M
Stars
3.5K
Committers
109

Bot releases are visible (Hide)

file-type - Latest Release

Published by sindresorhus 10 months ago

Breaking

  • Require Node.js 18 7f4b30b
  • Use mime type audio/wav instead of audio/vnd.wave for .wav files (#620) c7c923c

https://github.com/sindresorhus/file-type/compare/v18.7.0...v19.0.0

file-type -

Published by sindresorhus 11 months ago

  • Add support for FBX (Filmbox) (#605) 4b7eb75
  • Support adding custom detectors (#603) f5b232c

https://github.com/sindresorhus/file-type/compare/v18.6.0...v18.7.0

file-type -

Published by sindresorhus 12 months ago

file-type -

Published by sindresorhus over 1 year ago

file-type -

Published by sindresorhus over 1 year ago

file-type -

Published by sindresorhus over 1 year ago

  • Support reading from Blob in Node.js (#588) 1c75cfb
  • Add support for J2C (#596) 51bd34c
  • Add support for ACE (#592) 1899fc1
  • Add support for cpio (#590) f84e96c
  • Add support for ARJ (#589) 935470e
  • Add support for Java class (#591) a40f828

https://github.com/sindresorhus/file-type/compare/v18.2.1...v18.3.0

file-type -

Published by sindresorhus over 1 year ago

file-type -

Published by sindresorhus almost 2 years ago

  • Add support for Apache Parquet (#576) 1ec164b

https://github.com/sindresorhus/file-type/compare/v18.1.0...v18.2.0

file-type -

Published by sindresorhus almost 2 years ago

Improvements

  • Add support for AutoDesk DWG format (#572) 47aa221
  • Add support for Personal Storage Table (PST) file (.pst) (#573) ec3ba33
  • Add support for JPEG-LS (.jls) (#568) 976ed4b

Fixes

  • Fix parsing big-endian encoded TIFF file (#571) e8bc341

https://github.com/sindresorhus/file-type/compare/v18.0.0...v18.1.0

file-type -

Published by sindresorhus about 2 years ago

file-type -

Published by sindresorhus about 2 years ago

file-type -

Published by sindresorhus about 2 years ago

file-type -

Published by Borewit about 2 years ago

file-type -

Published by sindresorhus about 2 years ago

  • Fix a problem with a dependency (#549) 20a90ab

https://github.com/sindresorhus/file-type/compare/v17.1.3...v17.1.4

file-type -

Published by sindresorhus about 2 years ago

https://github.com/sindresorhus/file-type/compare/v17.1.2...v17.1.3

file-type -

Published by sindresorhus over 2 years ago

  • Improve decoding of mime-type in ZIP file (#546) 1b10a71

https://github.com/sindresorhus/file-type/compare/v17.1.1...v17.1.2

file-type -

Published by sindresorhus almost 3 years ago

file-type -

Published by sindresorhus almost 3 years ago

  • Add support for ELF (Unix Executable and Linkable Format) (#514) c4983ea
  • Add avif-sequence file for animation (#512) 752afb3

https://github.com/sindresorhus/file-type/compare/v17.0.2...v17.1.0

file-type -

Published by sindresorhus almost 3 years ago

  • Prevent "Concurrent read operation" error to be thrown in some cases while reading from a stream (#510) 565f7f3

https://github.com/sindresorhus/file-type/compare/v17.0.1...v17.0.2

file-type -

Published by sindresorhus almost 3 years ago

  • Update strtok3 & token-types dependencies for explicit node:buffer imports (#507) b27fb5f

https://github.com/sindresorhus/file-type/compare/v17.0.0...v17.0.1

Package Rankings
Top 11.3% on Repo1.maven.org
Top 0.6% on Npmjs.org
Top 5.77% on Proxy.golang.org