1.3.0 • Published 4 years ago

webassembly-feature v1.3.0

Weekly downloads
279
License
MIT
Repository
github
Last release
4 years ago

webassembly-feature

Test if a WebAssembly feature is supported

Install

Using npm:

npm install --save webassembly-feature

or using yarn:

yarn add webassembly-feature

Usage

API:

const supports = require("webassembly-feature");

console.log(supports["JS-BigInt-integration"]()); // false
console.log(supports["multi-value"]());           // false
console.log(supports["mutable-global"]());        // true
console.log(supports["simd"]());                  // false

Demo: https://sauleau.com/notes/test-if-a-WebAssembly-feature-is-supported.html.

1.3.0

4 years ago

1.2.1

5 years ago

1.2.0

5 years ago

1.1.3

5 years ago

1.1.2

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.0

5 years ago