amino-acidsbiologydnarnatranscriptiontranslationrustacidsaminocentral-dogmajavascriptwasmwebassembly
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
5 years ago | |
|---|---|---|
| .. | ||
| .bin | 5 years ago | |
| .gitignore | 5 years ago | |
| .travis.yml | 5 years ago | |
| README.md | 5 years ago | |
| app.html | 5 years ago | |
| app.js | 5 years ago | |
| bootstrap.js | 5 years ago | |
| index.html | 5 years ago | |
| index.js | 5 years ago | |
| package-lock.json | 5 years ago | |
| package.json | 5 years ago | |
| webpack.config.js | 5 years ago | |
README.md
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.
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.
- Want to create an NPM package with Rust and WebAssembly? Check out
wasm-pack-template. - Want to make a monorepo-style Website without publishing to NPM? Check out
rust-webpack-templateand/orrust-parcel-template.
🚴 Usage
npm init wasm-app
🔋 Batteries Included
.gitignore: ignoresnode_modulesLICENSE-APACHEandLICENSE-MIT: most Rust projects are licensed this way, so these are included for youREADME.md: the file you are reading now!index.html: a bare bones html document that includes the webpack bundleindex.js: example js file with a comment showing how to import and use a wasm pkgpackage.jsonandpackage-lock.json:- pulls in devDependencies for using webpack:
- defines a
startscript to runwebpack-dev-server
webpack.config.js: configuration file for bundling your js with webpack
License
Licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
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.