@fredrikschaefer/file-type

Detect the file type of a Buffer/Uint8Array/ArrayBuffer. Fork of https://github.com/sindresorhus/file-type allowing custom detectors. May be removed once this feature is merged into the original repo.

Browse on unpkg