is-cr2
v1.0.4
Published
Check if a Buffer/Uint8Array is a CR2 file.
Downloads
2
Maintainers
Readme
is-cr2
Check if a Buffer/Uint8Array is a CR2 file.
Install
$ npm install --save is-cr2
Usage
var read = require('fs').readFileSync;
var isCr2 = require('is-cr2');
isCr2(read('foo.cr2'));
//=> true
License
MIT © Andreas Gillström