is-pjl
v1.0.0
Published
Detect if a Buffer/Uint8Array is a Printer Job Language (PJL)
Downloads
7
Maintainers
Readme
is-pjl
Check if a given Buffer
or Uint8Array
is a
PJL document.
Installation
npm install is-pjl --save
Usage
var isPjl = require('is-pjl')
var buf = fs.readFileSync('doc.pjl')
if (isPjl(buf)) {
console.log('The data is a PJL document')
}
License
MIT