wasm-ts
v0.1.3
Published
TypeScript type definitions for WebAssembly API
Maintainers
Readme
wasm-ts
TypeScript type definitions for WebAssembly API
Installation
npm
npm i -S wasm-tsyarn
yarn add wasm-tsExample
import 'wasm-ts';
WebAssembly.instantiateStreaming(fetch('example.wasm')).then(obj => {
obj.instance.exports.func();
});Changelog
[0.1.3] - 2019.05.07
- Support webpack + ts-loader
- Change module structure (Redefine as ambient namespace)
import { WebAssembly } from 'wasm-ts'→import 'wasm-ts';
[0.1.2] - 2019.05.06
- Add LICENSE
- Add README.md
[0.1.0] - 2019.05.06
- Add
index.d.ts(declaration file)
