npm.io
2.0.1 • Published 9 years ago

is-swf

Licence
MIT
Version
2.0.1
Deps
0
Vulns
0
Weekly
0
Stars
5

is-swf Build Status

Check if a Buffer/Uint8Array is a SWF file

Install

$ npm install is-swf

Usage

const fs = require('fs');
const isSwf = require('is-swf');

ifSwf(fs.readFileSync('foo.swf'));
//=> true

License

MIT Kevin Mårtensson

Keywords