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

https://github.com/zebp/wasi-example-zstd

Compile zstd command-line interface to WASM using WASI
https://github.com/zebp/wasi-example-zstd

Last synced: about 2 months ago
JSON representation

Compile zstd command-line interface to WASM using WASI

Awesome Lists containing this project

README

        

### Zstandard on WASI

Compile zstd command-line interface to WASM using WASI

Build
```
make -j
```

Test in wasmtime
```
echo "Hello world!" | wasmtime run build/zstd.wasm -- -
```

Test in a worker!
```
wrangler dev build/zstd.wasm -- -

echo "Hello world!" | curl https:// -X POST --data-binary @-
```