0.1.3 • Published 5 years ago

wasm-ts v0.1.3

Weekly downloads
27
License
CC-0
Repository
github
Last release
5 years ago

wasm-ts

TypeScript type definitions for WebAssembly API

Installation

npm

npm i -S wasm-ts

yarn

yarn add wasm-ts

Example

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)
0.1.3

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago