{"name":"is-swf","version":"2.0.1","description":"Check if a Buffer/Uint8Array is a SWF file","license":"MIT","repository":{"type":"git","url":"git+https://github.com/kevva/is-swf.git"},"author":{"name":"Kevin Mårtensson","email":"kevinmartensson@gmail.com","url":"github.com/kevva"},"engines":{"node":">=4"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["buffer","check","detect","swf","type","uint8array"],"devDependencies":{"ava":"*","xo":"*"},"gitHead":"c9623d9fc794db718bbae6c9942eb7613b31a304","bugs":{"url":"https://github.com/kevva/is-swf/issues"},"homepage":"https://github.com/kevva/is-swf#readme","_id":"is-swf@2.0.1","_npmVersion":"5.3.0","_nodeVersion":"8.3.0","_npmUser":{"name":"kevva","email":"kevinmartensson@gmail.com"},"dist":{"integrity":"sha512-SENjtwcT4vyDzae6zn1BxByXit9COquA/VQxIIQlTrPlHchMPd/3lzWNI4MyWoewsvwQUB1N8hfduzZHllO4Gg==","shasum":"4f7bc297a82c1731f2f34d2c6831b05e81b4307b","tarball":"http://registry-npm.ywwl.com/is-swf/download/is-swf-2.0.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDRXupdzqSQeicTdQBYg+9919+cRYdkFNlfZXMtnbWDpgIgGsXWy9H5RS0ranwC7Wwz3xPJL3Eg9TsWWOGxaaZ2cHY="}],"size":1430,"noattachment":false,"key":"/is-swf/-/is-swf-2.0.1.tgz"},"maintainers":[{"name":"kevva","email":"kevinmartensson@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-swf-2.0.1.tgz_1502634770719_0.11793780163861811"},"directories":{},"readme":"# is-swf [![Build Status](https://travis-ci.org/kevva/is-swf.svg?branch=master)](https://travis-ci.org/kevva/is-swf)\n\n> Check if a Buffer/Uint8Array is a SWF file\n\n\n## Install\n\n```\n$ npm install is-swf\n```\n\n\n## Usage\n\n```js\nconst fs = require('fs');\nconst isSwf = require('is-swf');\n\nifSwf(fs.readFileSync('foo.swf'));\n//=> true\n```\n\n\n## License\n\nMIT © [Kevin Mårtensson](https://github.com/kevva)\n","publish_time":1502634771677,"_cnpm_publish_time":1502634771677,"dist-tags":{"latest":"2.0.1"}}