Skip to content

anderejd/wasm-bindgen-minimal-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A minimal wasm-bindgen example

This example has three prerequisites:

  • rustup target add wasm32-unknown-unknown
  • cargo install wasm-bindgen-cli
  • cargo install basic-http-server

Use the build.sh script to build this example and start the local webserver. On Windows, use git bash.

This example is now more or less a copy-paste of https://github.com/rustwasm/wasm-bindgen/tree/master/examples/without-a-bundler using wasm-bindgen directly instead of wasm-pack.

Motivation

This is just me studying the Rust + WASM tools and trying to figure out if they can be used without NPM, it seems so?

About

A minimal wasm-bindgen example.

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published