https://github.com/nushell/demo
Experimental wasm-based Nu playground
https://github.com/nushell/demo
Last synced: 10 months ago
JSON representation
Experimental wasm-based Nu playground
- Host: GitHub
- URL: https://github.com/nushell/demo
- Owner: nushell
- License: mit
- Created: 2020-07-11T17:38:01.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-10-06T17:55:04.000Z (over 4 years ago)
- Last Synced: 2025-03-29T07:22:42.408Z (11 months ago)
- Language: Rust
- Homepage: https://www.nushell.sh/demo/
- Size: 31.8 MB
- Stars: 24
- Watchers: 14
- Forks: 12
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Nu wasm demo playground
[](https://gitpod.io/#https://github.com/nushell/wasm-nu)
## ⬇️ Install `wasm-pack`
First step, [install wasm-pack](https://rustwasm.github.io/wasm-pack/installer/).
## 🛠️ Build with `wasm-pack build`
```
wasm-pack build
```
If dependencies changed, run `cargo update` before running the above again.
## 🚴 Run the example:
```
cd www
npm install
npm start
(in a browser: ) open "http://localhost:8080"
```
## Contributing
Open it in Gitpod! Everything should be compiled and ready to go!
[](https://gitpod.io/#https://github.com/nushell/wasm-nu)