0.1.0 • Published 9 months ago
bun-wyhash v0.1.0
bun-wyhash
Bun.hash
wyhash algorithm for Node and Deno.
This is the Bun algorithm they use, passing ZIG code to WASM so that it can be used in other runtimes.
If you run this code with Bun, it always runs Bun.hash, while if you are in another JavaScript runtime, it uses the WASM.
Getting started
Install the package:
bun install bun-wyhash
Then you can use it in your code:
import { hash } from "bun-wyhash";
hash("some data here");
// 11562320457524636935n
0.1.0
9 months ago