0.1.3 • Published 1 year ago

zig-js-glue v0.1.3

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

zig-js Glue

This is the JS library that glues with the Zig library so that Zig can communicate with the host JS environment when compiled to WebAssembly. Learn more about the zig-js library at the zig-js repository.

Installation

There are two methods for using the JS side of zig-js:

  1. This library is a standard npm package, so you can install and use it as you normally would any other package. Add it to your package.json and integrate it with the bundler you're already using.

  2. You can run npm run build in this directory and the library will be bundled into a single JS file in dist/. You can then copy the single JS file into your web project. We bundle both a normal CJS module at dist/index.js as well as an ES module at dist/module.js. TypeScript type definitions are available in dist/types.d.ts.

0.1.3

1 year ago

0.1.2

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago