Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/najmiter/asm-chitter
assembly code syntax highlighter written in rust (compiled into wasm for browser usage)
https://github.com/najmiter/asm-chitter
assembly code highlighter js rust wasm
Last synced: 11 days ago
JSON representation
assembly code syntax highlighter written in rust (compiled into wasm for browser usage)
- Host: GitHub
- URL: https://github.com/najmiter/asm-chitter
- Owner: najmiter
- Created: 2024-12-14T20:39:39.000Z (about 2 months ago)
- Default Branch: main
- Last Pushed: 2024-12-21T20:44:08.000Z (about 1 month ago)
- Last Synced: 2025-01-21T22:48:02.545Z (12 days ago)
- Topics: assembly, code, highlighter, js, rust, wasm
- Language: Rust
- Homepage: https://asm-chitter.vercel.app/
- Size: 173 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Getting started
```bash
cargo install wasm-pack
``````bash
wasm-pack build --target web
``````bash
npm init wasm-app my-web-app
```Then in the `index.js` of this template, you may start using the wasm stuff:
```js
import init, { chittify } from '../pkg/chitter.js';await init(); // MAKE SURE TO INITIALIZE!
console.log(chittify('some string'));
```