Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ibaryshnikov/tgenw
Template generator for WebAssembly projects
https://github.com/ibaryshnikov/tgenw
Last synced: 21 days ago
JSON representation
Template generator for WebAssembly projects
- Host: GitHub
- URL: https://github.com/ibaryshnikov/tgenw
- Owner: ibaryshnikov
- Created: 2019-11-18T21:27:24.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-10-22T15:54:09.000Z (over 4 years ago)
- Last Synced: 2024-11-09T06:44:04.599Z (3 months ago)
- Language: Rust
- Size: 1.95 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
#### Template generator for WebAssembly projects
When you make prototypes with `wasm-bindgen`,
after running `wasm-pack build --target web` there's a `pkg` folder
with a module. Usually it needs a simple web page with some JS code
to load the module. This tool generates such a page.#### Installing
```bash
# from local checkout
cargo install --path .
# alternatively, from git
cargo install --git https://github.com/ibaryshnikov/tgenw
```#### Usage
There're no flags, just run
```bash
tgenw
```it will produce `index.html` and `main.js`