Skip to content

Sample JavaScript app consuming a WASM module written with Rust

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

fsarachu/js-snowflakes

Repository files navigation

JS Snowflakes ❄️

Another JS + Rust + WebAssembly version of ❄️ Let's make some SNOW!

To run this locally follow build steps for the WebAssembly code and link module locally using yarn link

Initialized with create-wasm-app

An npm init template for kick starting a project that uses NPM packages containing Rust-generated WebAssembly and bundles them with Webpack.

This template is designed for depending on NPM packages that contain Rust-generated WebAssembly and using them to create a Website.

🚴 Usage

npm init wasm-app

🔋 Batteries Included

  • .gitignore: ignores node_modules
  • LICENSE-APACHE and LICENSE-MIT: most Rust projects are licensed this way, so these are included for you
  • README.md: the file you are reading now!
  • index.html: a bare bones html document that includes the webpack bundle
  • index.js: example js file with a comment showing how to import and use a wasm pkg
  • package.json and package-lock.json:
  • webpack.config.js: configuration file for bundling your js with webpack

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

About

Sample JavaScript app consuming a WASM module written with Rust

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