{"_id":"is-pdf","_rev":"38463","name":"is-pdf","description":"Check if a Buffer/Uint8Array is a 7ZIP file","dist-tags":{"latest":"1.0.0"},"maintainers":[{"name":"kevva","email":""}],"time":{"modified":"2021-06-03T10:10:59.000Z","created":"2014-04-24T13:25:09.220Z","1.0.0":"2014-08-25T00:21:13.415Z","0.1.0":"2014-04-24T13:25:09.220Z"},"users":{"t1st3":true,"wzbg":true,"rocket0191":true},"author":{"name":"Kevin Mårtensson","email":"kevinmartensson@gmail.com","url":"https://github.com/kevva"},"repository":{"type":"git","url":"https://github.com/kevva/is-pdf"},"versions":{"1.0.0":{"name":"is-pdf","version":"1.0.0","description":"Check if a Buffer/Uint8Array is a 7ZIP file","license":"MIT","repository":{"type":"git","url":"https://github.com/kevva/is-pdf"},"author":{"name":"Kevin Mårtensson","email":"kevinmartensson@gmail.com","url":"https://github.com/kevva"},"engines":{"node":">=0.10.0"},"scripts":{"test":"node test/test.js"},"files":["index.js"],"keywords":["buffer","check","detect","pdf","type","uint8array"],"devDependencies":{"ava":"0.0.4","read-chunk":"^1.0.0"},"gitHead":"234fca81554b2f5be7b57d561f8de975990f84e9","bugs":{"url":"https://github.com/kevva/is-pdf/issues"},"homepage":"https://github.com/kevva/is-pdf","_id":"is-pdf@1.0.0","_shasum":"b456f30ae048aa83d02cc2b15c1f428ca689241c","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"kevva","email":"kevinmartensson@gmail.com"},"maintainers":[{"name":"kevva","email":""}],"dist":{"shasum":"b456f30ae048aa83d02cc2b15c1f428ca689241c","size":866,"noattachment":false,"key":"/is-pdf/-/is-pdf-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/is-pdf/download/is-pdf-1.0.0.tgz"},"directories":{},"publish_time":1408926073415,"_cnpm_publish_time":1408926073415,"_hasShrinkwrap":false},"0.1.0":{"name":"is-pdf","version":"0.1.0","description":"Check if a Buffer/Uint8Array is a 7ZIP file","license":"MIT","repository":{"type":"git","url":"git://github.com/kevva/is-pdf"},"author":{"name":"Kevin Mårtensson","email":"kevinmartensson@gmail.com","url":"https://github.com/kevva"},"engines":{"node":">=0.10.0"},"scripts":{"browser":"browserify -s $npm_package_name -o browser.js .","test":"mocha --reporter list"},"files":["index.js"],"keywords":["buffer","check","detect","pdf","type","uint8array"],"devDependencies":{"browserify":"^3.44.2","mocha":"^1.18.2"},"bugs":{"url":"https://github.com/kevva/is-pdf/issues"},"homepage":"https://github.com/kevva/is-pdf","_id":"is-pdf@0.1.0","_shasum":"9b012ed9c8d2dcffb6002e0c0effc700fd2e9169","_from":".","_npmVersion":"1.4.7","_npmUser":{"name":"kevva","email":"kevinmartensson@gmail.com"},"maintainers":[{"name":"kevva","email":""}],"dist":{"shasum":"9b012ed9c8d2dcffb6002e0c0effc700fd2e9169","size":931,"noattachment":false,"key":"/is-pdf/-/is-pdf-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/is-pdf/download/is-pdf-0.1.0.tgz"},"directories":{},"publish_time":1398345909220,"_cnpm_publish_time":1398345909220,"_hasShrinkwrap":false}},"readme":"# is-pdf [![Build Status](https://travis-ci.org/kevva/is-pdf.svg?branch=master)](https://travis-ci.org/kevva/is-pdf)\n\n> Check if a Buffer/Uint8Array is a PDF file\n\n## Install\n\n```sh\n$ npm install --save is-pdf\n```\n\n## Usage\n\n```js\nvar isPdf = require('is-pdf');\nvar read = require('fs').readFileSync;\n\nisPdf(read('foo.pdf'));\n// => true\n```\n\n## License\n\n[MIT License](http://en.wikipedia.org/wiki/MIT_License) © [Kevin Mårtensson](https://github.com/kevva)\n","_attachments":{},"homepage":"https://github.com/kevva/is-pdf","bugs":{"url":"https://github.com/kevva/is-pdf/issues"},"license":"MIT"}