BINDING / @packvium/browser
Browser engine
The Rust core compiled to WebAssembly, so packing runs in the page without a round trip. Same conformance fixtures as the other engines.
INSTALL
npm install @packvium/browserFIRST CALL
// npm install @packvium/browser
import { pack } from '@packvium/browser';
const result = await pack({
items: [{ id: 'book', quantity: 4, dimensions: { length: '210', width: '140', height: '30' } }],
containers: [{ id: 'carton', inner_dimensions: { length: '400', width: '300', height: '250' } }],
});
console.log(result.status); // "feasible"- Version
- 1.11.0
- Requires
- WebAssembly-capable browser
- License
- MIT
- Role
- Binding
- Registry
- npm
- Availability
- published
EVIDENCE
Held to the same fixtures as every other engine.
A package is not a separate product with its own quality level. It runs the shared corpus, and where its guarantees differ from the reference engines, the difference is documented rather than implied.