Skip to content

Demo - wasm-pack generates the components required for a wasm native module and native functions are accessed in typescript.

Notifications You must be signed in to change notification settings

surangap/node-native-wasm-pack-demo-ts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-native-wasm-pack-demo-ts

Demo - wasm-pack generates the components required for a wasm native module and native functions are accessed in typescript.

  1. clone the repo
  2. run wasm-pack build --target nodejs in the root directory. You should have installed wasm-pack prior.
  3. go to src_ts, run npm install
  4. run npm run build to compile ts files.
  5. you should see a dist directory now, to run the demo, execute node dist/application.js

About

Demo - wasm-pack generates the components required for a wasm native module and native functions are accessed in typescript.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published