0.14.1 • Published 2 years ago

swf-parser v0.14.1

Weekly downloads
5
License
-
Repository
github
Last release
2 years ago

SWF Parser (Typescript)

npm GitHub repository Build status

SWF parser implemented in Typescript, for Node and browsers. Converts bytes to swf-types movies.

Usage

import fs from "fs";
import { Movie } from "swf-types";
import { parseSwf } from "swf-parser";

const bytes: Uint8Array = fs.readFileSync("movie.swf");
const movie: Movie = parseSwf(bytes);

Contributing

This repo uses Git submodules for its test samples:

# Clone with submodules
git clone --recurse-submodules git://github.com/open-flash/swf-parser.git
# Update submodules for an already-cloned repo
git submodule update --init --recursive --remote

This library uses Gulp and npm for its builds, yarn is recommended for the dependencies. The commands must be run from the ts directory.

cd ts
npm install
# work your changes...
npm test

Prefer non-master branches when sending a PR so your changes can be rebased if needed. All the commits must be made on top of master (fast-forward merge). CI must pass for changes to be accepted.

Documentation for the available Gulp tasks

0.14.0

2 years ago

0.14.1

2 years ago

0.13.0

3 years ago

0.12.0

4 years ago

0.11.0

4 years ago

0.10.0

4 years ago

0.9.0

5 years ago

0.8.0

5 years ago

0.7.1

5 years ago

0.7.0

5 years ago

0.5.4

5 years ago

0.5.3

5 years ago

0.5.2

5 years ago

0.5.1

5 years ago

0.5.0

5 years ago

0.4.0

5 years ago

0.3.2

5 years ago

0.3.1

5 years ago

0.3.0

5 years ago

0.2.1

5 years ago

0.2.0

5 years ago

0.1.4

5 years ago

0.1.3

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago

0.0.8

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

7 years ago

0.0.1

7 years ago