is-swf
Check if a Buffer/Uint8Array is a SWF file
Last updated 9 years ago by kevva .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install is-swf 
SYNC missed versions from official npm registry.

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

Current Tags

  • 2.0.1                                ...           latest (9 years ago)

6 Versions

  • 2.0.1                                ...           9 years ago
  • 2.0.0                                ...           9 years ago
  • 1.1.1                                ...           11 years ago
  • 1.1.0                                ...           11 years ago
  • 1.0.0                                ...           12 years ago
  • 0.1.0                                ...           13 years ago
Maintainers (1)
Downloads
Total 38
Today 0
This Week 4
This Month 22
Last Day 0
Last Week 5
Last Month 7
Dependencies (0)
None
Dev Dependencies (2)
Dependents (1)

© 2010 - cnpmjs.org x YWFE | Home | YWFE