has-bytes
Quickly Determine if a File has Certain Byte Sequences
background
You can use this to quickly identify a file type
install
npm install has-bytes
usage
const fs = ;const hasBytes = ; const buffer = fs;const result = ;// result is true