@stravid87/npm_wasm_pkg_test
v1.0.2
Published
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')
Downloads
4
Readme
NPM WASM PKG Test
To use:
- npm i @stravid87/npm_pkg_test
- 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)
- Run with the command > $ node script.js