@stravid87/npm_wasm_pkg_test

1.0.2 • Public • Published

NPM WASM PKG Test

To use:

  1. npm i @stravid87/npm_pkg_test
  2. Then, copy and past the following into a file called 'script.js'
const loadWebAssembly = require('@stravid87/npm_wasm_pkg_test')

loadWebAssembly()

setTimeout(()=>{
    let a = Math.floor(Math.random()*100)
    let b = Math.floor(Math.random()*100)
    const sum = addTwoNumbers(a,b);
    console.log("arrived two: ", sum)
},100)
  1. Run with the command > $ node script.js

Readme

Keywords

none

Package Sidebar

Install

npm i @stravid87/npm_wasm_pkg_test

Weekly Downloads

1

Version

1.0.2

License

ISC

Unpacked Size

1.94 MB

Total Files

5

Last publish

Collaborators

  • stravid87