Go to file
2021-05-16 12:16:23 +02:00
.bin what the hell 2021-05-11 00:02:50 +02:00
.gitignore what the hell 2021-05-11 00:02:50 +02:00
.travis.yml what the hell 2021-05-11 00:02:50 +02:00
bootstrap.js what the hell 2021-05-11 00:02:50 +02:00
index.html use canvas instead of txt 2021-05-11 21:43:24 +02:00
index.js use non defaut constructor 2021-05-16 12:16:23 +02:00
LICENSE-APACHE what the hell 2021-05-11 00:02:50 +02:00
LICENSE-MIT what the hell 2021-05-11 00:02:50 +02:00
package-lock.json what the hell 2021-05-11 00:02:50 +02:00
package.json what the hell 2021-05-11 00:02:50 +02:00
README.md what the hell 2021-05-11 00:02:50 +02:00
webpack.config.js what the hell 2021-05-11 00:02:50 +02:00

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.

Build Status

Usage | Chat

Built with 🦀🕸 by The Rust and WebAssembly Working Group

About

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.