| Crates.io | tokay-wasm |
| lib.rs | tokay-wasm |
| version | 0.6.12 |
| created_at | 2025-07-23 13:51:22.919367+00 |
| updated_at | 2025-08-02 21:22:25.461071+00 |
| description | Tokay programming language (WASM-bindings) |
| homepage | https://tokay.dev/ |
| repository | https://github.com/tokay-lang/tokay-wasm |
| max_upload_size | |
| id | 1764805 |
| size | 27,501 |
This is the web-assembly package of the Tokay programming language for NPM.
Tokay is a programming language designed for ad-hoc parsing. It is written in Rust, and can be found officially here.
[!IMPORTANT] Tokay (WASM) is in an early project state, therefore things on the package as well as the bindings may change! The package is kept synchronous to the current Tokay release version.
import { run } from 'tokay';
console.log(run("Int * 3", "123 456 789"));
// (369, 1368, 2367)
Althought this crate and repo is called tokay-wasm, the released npm package is called just tokay.
This is ensured by the Makefile. Run make pkg and make publish to perform the required steps.
Invoking manual builds:
vite: wasm-pack build --target=bundler --out-name=tokaywasm-pack build --target=nodejs --out-name=tokaywasm-pack build --target=web --out-name=tokayCopyright © 2025 by Jan Max Meyer, Phorward Software Technologies.
Tokay is free software under the MIT license.
Please see the LICENSE file for details.