[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

arthurvr/is-postscript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

is-postscript Build Status

Check if a Buffer/Uint8Array is a postscript

Installation

$ npm install --save is-postscript

Usage

const readChunk = require('read-chunk'); // npm install read-chunk
const isPostscript = require('is-postscript');
const buf = readChunk.sync('program.ps', 0, 2);

isPostscript(buf);
//=> true

License

MIT © Arthur Verschaeve

About

Check if a Buffer/Uint8Array is a postscript

Resources

License

Stars

Watchers

Forks

Packages

No packages published