Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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)

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'));
```