cooklang-rs-js
v0.1.1
Published
A javascript library for parsing cooklang that uses coocklang-rs
Readme
cooklang-rs-js
A javascript library for parsing cooklang that uses coocklang-rs
Usage
npm install cooklang-rs-jsimport { parse as cooklangParse } from "cooklang-rs-js";
const recipe = '...';
const result = cooklangParse(recipe);
console.log(result);View the example in index.html.
To run the example, clone this repository and run:
cargo install wasm-pack
wasm-pack build --target web
python -m http.serverLicense
Licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
