• Stars
    star
    476
  • Rank 89,117 (Top 2 %)
  • Language
    JavaScript
  • License
    Apache License 2.0
  • Created almost 6 years ago
  • Updated 2 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

npm init template for consuming rustwasm pkgs

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.

More Repositories

1

wasm-bindgen

Facilitating high-level interactions between Wasm modules and JavaScript
Rust
7,225
star
2

wasm-pack

๐Ÿ“ฆโœจ your favorite rust -> wasm workflow tool!
Rust
5,843
star
3

gloo

A modular toolkit for building fast, reliable Web applications and libraries with Rust and WASM
Rust
1,689
star
4

book

The Rust and WebAssembly Book
Handlebars
1,686
star
5

team

A point of coordination for all things Rust and WebAssembly
1,408
star
6

twiggy

Twiggy๐ŸŒฑ is a code size profiler
Rust
1,217
star
7

wee_alloc

The Wasm-Enabled, Elfin Allocator
Rust
644
star
8

awesome-rust-and-webassembly

Awesome Rust and WebAssembly projects, libraries, tools, and resources
598
star
9

wasm-pack-template

a template for starting a rust-wasm project to be used with wasm-pack
Rust
580
star
10

rust-webpack-template

Kickstart your Rust, WebAssembly, and Webpack project!
JavaScript
553
star
11

walrus

Walrus is a WebAssembly transformation library ๐ŸŒŠ๐Ÿ˜
Rust
356
star
12

console_error_panic_hook

A panic hook for wasm32-unknown-unknown that logs panics with console.error
Rust
300
star
13

wasm_game_of_life

A Rust and WebAssembly tutorial implementing the Game of Life
Rust
266
star
14

wasm-snip

`wasm-snip` replaces a WebAssembly function's body with an `unreachable`
Rust
209
star
15

rust-parcel-template

Kickstart your Rust, WebAssembly, and Parcel project!
Rust
156
star
16

deprecated_rust_wasm_template

Deprecated in favor of rustwasm/wasm-pack-template or rustwasm/rust-webpack-template
Shell
102
star
17

wasm-tracing-allocator

A global allocator for Wasm that traces allocations and deallocations for debugging purposes.
Rust
100
star
18

rustwasm.github.io

Rust and WebAssembly website! ๐Ÿฆ€ + ๐Ÿ•ธ
HTML
65
star
19

weedle

A WebIDL Parser
WebIDL
42
star
20

rfcs

The Rust and WebAssembly RFCs
Shell
39
star
21

wasm-webidl-bindings

Read, write, and manipulate the Wasm WebIDL bindings custom section
Rust
37
star
22

binary-install

Rust
10
star
23

wasm-weight-tracker

Tracking Rust and WebAssembly sizes over time
Rust
10
star
24

hello-wasm-bindgen

a presentation introducing wasm-bindgen
JavaScript
8
star
25

sfhtml5-rust-and-wasm

JavaScript
4
star
26

.github

Default issue templates, CONTRIBUTING.md, etc...
2
star
27

wasm-weight-tracker-data

WIP
1
star