Skip to content

Commit

Permalink
docs: update Zig version requirement and remove instructions for pack…
Browse files Browse the repository at this point in the history
…aging totp-wasm JavaScript bundle
  • Loading branch information
gizmo-ds committed May 25, 2023
1 parent 0cb9164 commit d1c621d
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

# Requirements

- [Zig](https://ziglang.org/)
- [Zig](https://ziglang.org/) (0.11.0-dev.3295+7cb2e653a)
- [Binaryen](https://github.com/WebAssembly/binaryen) (Optional but recommended)
- [Node.js](https://nodejs.org) (Optional)

Expand All @@ -26,12 +26,6 @@ zig build
zig build bind
```

## Packaging the totp-wasm JavaScript bundle

```fish
npx esbuild packages/totp-wasm/index.ts --bundle --format=esm --platform=node --target=es2017 --minify --outfile=packages/totp-wasm/index.js
```

# How to install Binaryen?

You can download the latest release of Binaryen from [https://github.com/WebAssembly/binaryen/releases](https://github.com/WebAssembly/binaryen/releases). Once that's done, simply extract the compressed file somewhere. `wasm-opt` will be in the `bin` folder.
Expand Down

0 comments on commit d1c621d

Please sign in to comment.