Skip to content

Commit 110eef4

Browse files
committed
Update development README.md
Closes #54
1 parent ffa8283 commit 110eef4

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

+8
Original file line numberDiff line numberDiff line change
@@ -312,6 +312,14 @@ module.exports = {
312312
};
313313
```
314314

315+
## Development
316+
317+
To build the `tiktoken` library, make sure to have:
318+
- Rust and [`wasm-pack`](https://github.com/rustwasm/wasm-pack) installed.
319+
- Node.js 18+ is required to build the JS bindings and fetch the latest encoder ranks via `fetch`.
320+
321+
Install all the dev-dependencies with `yarn install` and build both WASM binary and JS bindings with `yarn build`.
322+
315323
## Acknowledgements
316324

317325
- https://github.com/zurawiki/tiktoken-rs

0 commit comments

Comments
 (0)