Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yurydelendik/wasmparser
Simple streamable WebAssembly binary parser
https://github.com/yurydelendik/wasmparser
Last synced: about 1 month ago
JSON representation
Simple streamable WebAssembly binary parser
- Host: GitHub
- URL: https://github.com/yurydelendik/wasmparser
- Owner: yurydelendik
- License: apache-2.0
- Fork: true (wasdk/wasmparser)
- Created: 2023-05-03T18:36:45.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-03-15T17:32:52.000Z (10 months ago)
- Last Synced: 2024-04-20T21:33:05.763Z (9 months ago)
- Size: 2.07 MB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
[![Build Status](https://travis-ci.org/wasdk/wasmparser.svg?branch=master)](https://travis-ci.org/wasdk/wasmparser)
[![NPM version](https://img.shields.io/npm/v/wasmparser.svg)](https://www.npmjs.com/package/wasmparser)Simple streamable WebAssembly binary parser.
## Test
### Compiling Code
```
npm run build
```### Examples
See the `examples/` folder.
### Running Tests
```
npm test
```### Creating Tests
Test `.wasm` files are located in the `test/__fixtures__` directory.
The testing harness compares the parsing output of the `.wasm` file against the snapshot file.
You can use the `npm test -- --updateSnapshot` command to update the snapshot file. This is useful if you have made a change that affects the tests.