wasmparser
Advanced tools
Comparing version 0.1.4 to 0.1.5
{ | ||
"name": "wasmparser", | ||
"version": "0.1.4", | ||
"version": "0.1.5", | ||
"description": "Binary WebAssembly file parser.", | ||
"main": "./dist/WasmParser.js", | ||
"types": "./dist/WasmParser.d.td", | ||
"bin": { | ||
@@ -10,3 +11,3 @@ "disassemble-wasm": "./disassemble-wasm.js" | ||
"scripts": { | ||
"test": "node ./disassemble-wasm.js test/malloc.wasm", | ||
"test": "node ./test.js", | ||
"build": "node_modules/.bin/tsc" | ||
@@ -13,0 +14,0 @@ }, |
Simple streamable WebAssembly binary parser. | ||
## Test | ||
### Running Tests | ||
``` | ||
npm test | ||
``` | ||
### Creating Tests | ||
Place a `.wasm` and an associated `.wasm.out` file in the `test` directory. | ||
The testing harness will compare the parsing output of the `.wasm` file against the `.wasm.out` file. | ||
You can use the `npm test update` command to automatically create a `.out` files. This is useful if you have made a change that affects the tests. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
132003
16
2657
14
3