8000 GitHub - kevva/is-pdf: Check if a Buffer/Uint8Array is a PDF file
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

kevva/is-pdf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

is-pdf Build Status

Check if a Buffer/Uint8Array is a PDF file

Install

$ npm install --save is-pdf

Usage

var read = require('fs').readFileSync;
var isPdf = require('is-pdf');

isPdf(read('foo.pdf'));
//=> true

License

MIT © Kevin Mårtensson

About

Check if a Buffer/Uint8Array is a PDF file

Resources

License

Stars

Watchers

Forks

Packages

No packages published
0