Skip to content

v0.1.3 — Multi-Target JS Binding

Choose a tag to compare

@AssetExpand2 AssetExpand2 released this 11 Feb 05:45
· 6 commits to main since this release

What's New

Multi-Target JavaScript Binding (Phase 10)

npm install icl-runtime now works out of the box in all JavaScript environments:

  • Node.js — CommonJS (require) and ESM (import) both supported
  • Bundlers — Vite, Webpack, Rollup — zero config WASM handling
  • Browsers<script type="module"> with async init()

Changes

  • Build 3 wasm-pack targets: nodejs (CJS), bundler (ESM), web (browser)
  • Cross-platform Node.js build script (build.mjs)
  • Conditional exports in package.json for automatic environment detection
  • ESM wrapper for Node.js import support
  • All versions synced to 0.1.3 (Cargo workspace, CLI, Python, JS)

Install

npm install icl-runtime

Full Changelog: v0.1.2...v0.1.3