{"_id":"is-swf","_rev":"41052","name":"is-swf","description":"Check if a Buffer/Uint8Array is a SWF file","dist-tags":{"latest":"2.0.1"},"maintainers":[{"name":"kevva","email":""}],"time":{"modified":"2021-06-03T10:12:23.000Z","created":"2014-05-12T14:09:33.185Z","2.0.1":"2017-08-13T14:32:51.677Z","2.0.0":"2017-08-13T14:28:49.004Z","1.1.1":"2016-04-09T14:04:56.993Z","1.1.0":"2016-01-03T19:43:54.253Z","1.0.0":"2014-08-25T00:05:07.821Z","0.1.0":"2014-05-12T14:09:33.185Z"},"users":{"t1st3":true},"author":{"name":"Kevin Mårtensson","email":"kevinmartensson@gmail.com","url":"github.com/kevva"},"repository":{"type":"git","url":"git+https://github.com/kevva/is-swf.git"},"versions":{"2.0.1":{"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":{"shasum":"4f7bc297a82c1731f2f34d2c6831b05e81b4307b","size":1430,"noattachment":false,"key":"/is-swf/-/is-swf-2.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/is-swf/download/is-swf-2.0.1.tgz"},"maintainers":[{"name":"kevva","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-swf-2.0.1.tgz_1502634770719_0.11793780163861811"},"directories":{},"publish_time":1502634771677,"_hasShrinkwrap":false,"_cnpm_publish_time":1502634771677},"2.0.0":{"name":"is-swf","version":"2.0.0","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":"784c2844503ee3d508b6389ff37293c5c6a62065","bugs":{"url":"https://github.com/kevva/is-swf/issues"},"homepage":"https://github.com/kevva/is-swf#readme","_id":"is-swf@2.0.0","_npmVersion":"5.3.0","_nodeVersion":"8.3.0","_npmUser":{"name":"kevva","email":"kevinmartensson@gmail.com"},"dist":{"shasum":"7fa1ab5b47179b2849cbf05dd674c0537acaa1f5","size":1427,"noattachment":false,"key":"/is-swf/-/is-swf-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/is-swf/download/is-swf-2.0.0.tgz"},"maintainers":[{"name":"kevva","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-swf-2.0.0.tgz_1502634528085_0.9173116411548108"},"directories":{},"publish_time":1502634529004,"_hasShrinkwrap":false,"_cnpm_publish_time":1502634529004},"1.1.1":{"name":"is-swf","version":"1.1.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":"https://github.com/kevva"},"engines":{"node":">=0.10.0"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["buffer","check","detect","swf","type","uint8array"],"devDependencies":{"ava":"*","pify":"^2.3.0","pinkie-promise":"^2.0.0","read-chunk":"^1.0.0","xo":"*"},"gitHead":"b0f3c71f6b05c53aa44d059287e3a806e17efc6c","bugs":{"url":"https://github.com/kevva/is-swf/issues"},"homepage":"https://github.com/kevva/is-swf#readme","_id":"is-swf@1.1.1","_shasum":"2093659735f0437960ab3be40a3fc18d6bd5a5f0","_from":".","_npmVersion":"3.7.0","_nodeVersion":"5.10.1","_npmUser":{"name":"kevva","email":"kevinmartensson@gmail.com"},"dist":{"shasum":"2093659735f0437960ab3be40a3fc18d6bd5a5f0","size":1519,"noattachment":false,"key":"/is-swf/-/is-swf-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/is-swf/download/is-swf-1.1.1.tgz"},"maintainers":[{"name":"kevva","email":""}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/is-swf-1.1.1.tgz_1460210695915_0.4577502973843366"},"directories":{},"publish_time":1460210696993,"_cnpm_publish_time":1460210696993,"_hasShrinkwrap":false},"1.1.0":{"name":"is-swf","version":"1.1.0","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":"https://github.com/kevva"},"engines":{"node":">=0.10.0"},"scripts":{"test":"node test/test.js"},"files":["index.js"],"keywords":["buffer","check","detect","swf","type","uint8array"],"devDependencies":{"ava":"0.0.4","read-chunk":"^1.0.0"},"gitHead":"2502a7854443960a697e99f651d5abb9812d0cad","bugs":{"url":"https://github.com/kevva/is-swf/issues"},"homepage":"https://github.com/kevva/is-swf#readme","_id":"is-swf@1.1.0","_shasum":"5bdb711c311f0d3e029d4c5884ae6bcc7203d158","_from":".","_npmVersion":"3.5.3","_nodeVersion":"5.3.0","_npmUser":{"name":"kevva","email":"kevinmartensson@gmail.com"},"dist":{"shasum":"5bdb711c311f0d3e029d4c5884ae6bcc7203d158","size":1495,"noattachment":false,"key":"/is-swf/-/is-swf-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/is-swf/download/is-swf-1.1.0.tgz"},"maintainers":[{"name":"kevva","email":""}],"directories":{},"publish_time":1451850234253,"_cnpm_publish_time":1451850234253,"_hasShrinkwrap":false},"1.0.0":{"name":"is-swf","version":"1.0.0","description":"Check if a Buffer/Uint8Array is a SWF file","license":"MIT","repository":{"type":"git","url":"https://github.com/kevva/is-swf"},"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","swf","type","uint8array"],"devDependencies":{"ava":"0.0.4","read-chunk":"^1.0.0"},"gitHead":"cab193134328d76719f3ae401456e50699039250","bugs":{"url":"https://github.com/kevva/is-swf/issues"},"homepage":"https://github.com/kevva/is-swf","_id":"is-swf@1.0.0","_shasum":"fee6dc4fa259656ecea93d534a9ca578aadcc26a","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"kevva","email":"kevinmartensson@gmail.com"},"maintainers":[{"name":"kevva","email":""}],"dist":{"shasum":"fee6dc4fa259656ecea93d534a9ca578aadcc26a","size":862,"noattachment":false,"key":"/is-swf/-/is-swf-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/is-swf/download/is-swf-1.0.0.tgz"},"directories":{},"publish_time":1408925107821,"_cnpm_publish_time":1408925107821,"_hasShrinkwrap":false},"0.1.0":{"name":"is-swf","version":"0.1.0","description":"Check if a Buffer/Uint8Array is a SWF file","license":"MIT","repository":{"type":"git","url":"git://github.com/kevva/is-swf"},"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","swf","type","uint8array"],"devDependencies":{"browserify":"^3.44.2","mocha":"^1.18.2","read-chunk":"^0.1.0"},"bugs":{"url":"https://github.com/kevva/is-swf/issues"},"homepage":"https://github.com/kevva/is-swf","_id":"is-swf@0.1.0","_shasum":"91ab3e77b94737275ee7ca78c63564b053b602de","_from":".","_npmVersion":"1.4.7","_npmUser":{"name":"kevva","email":"kevinmartensson@gmail.com"},"maintainers":[{"name":"kevva","email":""}],"dist":{"shasum":"91ab3e77b94737275ee7ca78c63564b053b602de","size":911,"noattachment":false,"key":"/is-swf/-/is-swf-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/is-swf/download/is-swf-0.1.0.tgz"},"directories":{},"publish_time":1399903773185,"_cnpm_publish_time":1399903773185,"_hasShrinkwrap":false}},"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","_attachments":{},"homepage":"https://github.com/kevva/is-swf#readme","bugs":{"url":"https://github.com/kevva/is-swf/issues"},"license":"MIT"}