Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

primea-wasm-container

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

primea-wasm-container

[![NPM Package](https://img.shields.io/npm/v/primea-wasm-container.svg?style=flat-square)](https://www.npmjs.org/package/primea-wasm-container) [![Build Status](https://img.shields.io/travis/primea/js-primea-wasm-container.svg?branch=master&style=flat-sq

  • 0.3.4
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
5
increased by25%
Maintainers
1
Weekly downloads
 
Created
Source

NPM Package Build Status Coverage Status

js-standard-style

SYNOPSIS

This implements a wasm container for the ewasm-kernel

INSTALL

npm install primea-wasm-container

USAGE

const WasmContainer = require('primea-wasm-container')

// this class with get instantiated when a new wasm container instance is created
// its methods with be exposed to the wasm binary as `imports`
class HelloWorld {
  test () {
    console.log('hello world!')
  }
}

// regester the container with the a hypervisor instance
hypervisor.registerContainer(WasmContainer, {
  env: HelloWorld 
})

LICENSE

MPL-2.0

Keywords

FAQs

Package last updated on 04 Dec 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc