# webassembly-feature

> Test if a WebAssembly feature is supported

Latest version **1.3.0** (published 2020-02-01) · MIT license · 0 weekly downloads

## Install

```sh
npm install webassembly-feature
pnpm add webassembly-feature
yarn add webassembly-feature
bun add webassembly-feature
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.3.0 |
| Published | 2020-02-01 |
| First published | 2019-03-29 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 5.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 17 |
| Author | Sven Sauleau |
| Maintainers | xtuc |
| Keywords | WebAssembly, wasm, feature, test |

## Links

- npm: https://www.npmjs.com/package/webassembly-feature
- Repository: https://github.com/xtuc/webassembly-feature
- Homepage: https://github.com/xtuc/webassembly-feature#readme
- Issues: https://github.com/xtuc/webassembly-feature/issues
- npm.io page: https://npm.io/package/webassembly-feature

## Alternatives

- [duck](https://npm.io/package/duck.md) — 4.2M weekly downloads
- [ava](https://npm.io/package/ava.md) — 560.2K weekly downloads
- [storybook-addon-module-mock](https://npm.io/package/storybook-addon-module-mock.md) — 71.7K weekly downloads
- [@ethereum-waffle/mock-contract](https://npm.io/package/@ethereum-waffle/mock-contract.md) — 40.0K weekly downloads
- [aws-elasticsearch-connector](https://npm.io/package/aws-elasticsearch-connector.md) — 37.4K weekly downloads

## Recent versions

- 1.3.0 (latest) — 2020-02-01
- 1.2.1 — 2019-05-29
- 1.2.0 — 2019-05-29
- 1.1.3 — 2019-04-03
- 1.1.2 — 2019-04-02
- 1.1.1 — 2019-04-01
- 1.1.0 — 2019-04-01
- 1.0.0 — 2019-03-29

## README

# webassembly-feature

> Test if a WebAssembly feature is supported

## Install

Using npm:

```sh
npm install --save webassembly-feature
```

or using yarn:

```sh
yarn add webassembly-feature
```

## Usage

API:

```js
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.

---
_Source: https://npm.io/package/webassembly-feature · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
