Get the mimetype of a buffer based on its contents.
Data for this script was generated from: http://en.wikipedia.org/wiki/List_of_file_signatures
To match against any file format, you'll need a minimum of 30 bytes from the start of the file.
var identifyBuffer = identify;console;var identifyStream = identifyStream;fs
identifytake a buffer instead of a filename