tcper / wasm-diff

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Wasm Similar

Built with πŸ¦€πŸ•Έ by The Rust and WebAssembly Working Group

About

This is a cargo package similar to wasm bind.

🚴 Usage

npm install wasm-similar --save
import * as wasm from 'wasm-similar';

const list = wasm.compare_from_chars(source, target);

πŸ‘ Use cargo generate to Clone this Template

Learn more about cargo generate here.

cargo generate --git https://github.com/rustwasm/wasm-pack-template.git --name my-project
cd my-project

πŸ› οΈ Build with wasm-pack build

wasm-pack build

πŸ”¬ Test in Headless Browsers with wasm-pack test

wasm-pack test --headless --firefox

🎁 Publish to NPM with wasm-pack publish

wasm-pack publish

License

at your option.

Contribution

About

License:Apache License 2.0


Languages

Language:Rust 100.0%