bun-wyhash
v0.1.0
Published
Bun.hash wyhash algorithm for Node and Deno
Maintainers
Readme
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-wyhashThen you can use it in your code:
import { hash } from "bun-wyhash";
hash("some data here");
// 11562320457524636935n