# system-wasm

> System.js loader for WebAssembly

Latest version **0.2.0** (published 2016-11-02) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install system-wasm
pnpm add system-wasm
yarn add system-wasm
bun add system-wasm
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.2.0 |
| Published | 2016-11-02 |
| First published | 2016-11-02 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Yury Delendik |
| Maintainers | yurydelendik |

## Links

- npm: https://www.npmjs.com/package/system-wasm
- Repository: https://github.com/yurydelendik/system-wasm
- Homepage: https://github.com/yurydelendik/system-wasm#readme
- Issues: https://github.com/yurydelendik/system-wasm/issues
- npm.io page: https://npm.io/package/system-wasm

## Dependencies (1)

- [wasmparser](https://npm.io/package/wasmparser.md) ^0.1.2

## Recent versions

- 0.2.0 (latest) — 2016-11-02

## README

# System.js loader for WASM modules

Helper for WebAssembly file, to be loaded as module.

# Including in a project

For using with system.js:

    System.config({
        map: {
            wasm: 'system-wasm'
        }
    });
    
To use and wasm file as module, just call e.g.:

    var wasmModule = require('./module.wasm!');   

 
# Execution of the wasm module 

If the global `Wasm` object is present (WebAssembly is enabled for browser),
it will use `Wasm.instantiateModule`, otherwise it will fallback on the
binaryen's wasm.js (needs to be explicitly included as script).

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