swf-parser v0.14.1
SWF Parser (Typescript)
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.
2 years ago
2 years ago
3 years ago
4 years ago
4 years ago
4 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
7 years ago
7 years ago