# is-swf

> Check if a Buffer/Uint8Array is a SWF file

Latest version **2.0.1** (published 2017-08-13) · MIT license · 0 weekly downloads

## Install

```sh
npm install is-swf
pnpm add is-swf
yarn add is-swf
bun add is-swf
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.0.1 |
| Published | 2017-08-13 |
| First published | 2014-05-12 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=4 |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 5 |
| Author | Kevin Mårtensson |
| Maintainers | kevva |
| Keywords | buffer, check, detect, swf, type, uint8array |

## Links

- npm: https://www.npmjs.com/package/is-swf
- Repository: https://github.com/kevva/is-swf
- Homepage: https://github.com/kevva/is-swf#readme
- Issues: https://github.com/kevva/is-swf/issues
- npm.io page: https://npm.io/package/is-swf

## Alternatives

- [@openai/codex-sdk](https://npm.io/package/@openai/codex-sdk.md) — 731.4K weekly downloads
- [babel-plugin-transform-react-jsx](https://npm.io/package/babel-plugin-transform-react-jsx.md) — 565.0K weekly downloads
- [babel-helper-remove-or-void](https://npm.io/package/babel-helper-remove-or-void.md) — 508.5K weekly downloads
- [@pnpm/store-controller-types](https://npm.io/package/@pnpm/store-controller-types.md) — 186.9K weekly downloads
- [react-native-signature-canvas](https://npm.io/package/react-native-signature-canvas.md) — 155.6K weekly downloads

## Recent versions

- 2.0.1 (latest) — 2017-08-13
- 2.0.0 — 2017-08-13
- 1.1.1 — 2016-04-09
- 1.1.0 — 2016-01-03
- 1.0.0 — 2014-08-25
- 0.1.0 — 2014-05-12

## README

# is-swf [![Build Status](https://travis-ci.org/kevva/is-swf.svg?branch=master)](https://travis-ci.org/kevva/is-swf)

> Check if a Buffer/Uint8Array is a SWF file


## Install

```
$ npm install is-swf
```


## Usage

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

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


## License

MIT © [Kevin Mårtensson](https://github.com/kevva)

---
_Source: https://npm.io/package/is-swf · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
