wasm-parser
/
0.3.0
wasm-parser 0.3.0
Install from the command line:
Learn more about npm packages
$ npm install @novorender/wasm-parser@0.3.0
Install via package.json:
"@novorender/wasm-parser": "0.3.0"
About this version
To build for release:
wasm-pack build --scope novorender --release
To build with a watch that rebuilds on save:
cargo watch -i .gitignore -i "pkg/*" -s "wasm-pack build --scope novorender --release --features=console"
To build with debug symbols that can be inspected with chromes WebAssembly DWARF extension;
cargo build --features=console --profile=release --target wasm32-unknown-unknown
wasm-bindgen target/wasm32-unknown-unknown/debug-optimized/wasm_parser.wasm --debug --keep-debug --out-dir pkg
- console: enables log! macro to log to the browser console
- checked_types: enables enum checks while parsing for debugging that the parser is working and files are correct
- memory-monitor: enables logging of used memory to the browser console on every call to geometry and every drop of a schema. Useful to detect memory leaks
Details
- wasm-parser
- novorender
- about 1 year ago
Assets
- wasm-parser-0.3.0.tgz
Download activity
- Total downloads 1
- Last 30 days 0
- Last week 0
- Today 0