is-postscript
v1.0.0
Published
Check if a Buffer/Uint8Array is a postscript
Downloads
2
Maintainers
Readme
is-postscript
Check if a Buffer/Uint8Array is a postscript
Usage
$ npm install --save is-postscript
var readChunk = require('read-chunk'); // npm install read-chunk
var isPostscript = require('is-postscript');
var buffer = readChunk.sync('program.ps', 0, 2);
isPostscript(buffer);
//=> true
License
MIT © Arthur Verschaeve