@mentor/wasm (0.1.0)
Installation
@mentor:registry=npm install @mentor/wasm@0.1.0"@mentor/wasm": "0.1.0"About this package
Usage
npx @mentor/wasm@latest
Once done, you should see the npm output in exported directory.
You can directly upload this directory to npm as a package.
Features
A ton of tweaks is applied to the bundle made by wasm-pack.
- Embedded WASM in the JS bundle
- No need to execute any
init()function to load the WASM - Simplified DTS and removed
wasm-packnoise package.jsongenerated usingCargo.tomlproperties
Dependencies
Development dependencies
| ID | Version |
|---|---|
| @types/bun | ^1.3.14 |
| tsdown | ^0.22.12 |
| typescript | ^7.0.2 |
Details
Assets (1)
Versions (5)
View all
wasm-0.1.0.tgz
1.7 KiB