Socket
Socket
Sign inDemoInstall

is-pjl

Package Overview
Dependencies
0
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    is-pjl

Detect if a Buffer/Uint8Array is a Printer Job Language (PJL)


Version published
Weekly downloads
1
Maintainers
1
Install size
2.56 kB
Created
Weekly downloads
 

Readme

Source

is-pjl

Check if a given Buffer or Uint8Array is a PJL document.

Build status js-standard-style

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

Keywords

FAQs

Last updated on 23 Jan 2016

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc