SSVM ready tool


Keywords
wasm, registry, cli, rust, npm, package, nodejs, javascript, webassembly, rust-lang, node-js, second-state, rust-functions, wasmedge
Licenses
MIT/Apache-2.0
Install
npm install ssvmup@0.1.21

Documentation

ssvmup

The Second State VM ready tool

npm npm GitHub language count GitHub top language

Developers: Getting started building Rust + JavaScript hybrid apps for Node.js using the ssvmup tool.

About

A one-stop tool for building Rust functions into WebAssembly (the Second State VM, or SSVM) and then accessing these functions from Node.js JavaScript.

Install

From Linux command line

curl https://raw.githubusercontent.com/second-state/ssvmup/master/installer/init.sh -sSf | sh

From NPM and Node.js

npm i -g ssvmup

Commands

  • build: Compile and generate the wasm file, and the corresponding JavaScript file to call wasm functions from JavaScript

Logging

ssvmup uses env_logger to produce logs when ssvmup runs.

To configure your log level, use the RUST_LOG environment variable. For example:

RUST_LOG=info ssvmup build

Acknowledgment

This project is derived from the open source wasm-pack.