@boltffi/runtime
v0.2.0
Published
WASM runtime for BoltFFI generated TypeScript bindings
Maintainers
Readme
@boltffi/runtime
WASM runtime for BoltFFI generated TypeScript bindings.
Installation
npm install @boltffi/runtimeUsage
This package is used internally by BoltFFI-generated WASM bindings. You don't need to install it directly - it's bundled with your generated package when you run boltffi pack wasm.
Example
When you run boltffi pack wasm, the generated TypeScript uses this runtime:
import { distance } from 'your-package';
const d = distance({ x: 0, y: 0 }, { x: 3, y: 4 });
console.log(d); // 5.0Documentation
License
MIT
