0.1.0 • Published 1 year 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-wyhashThen you can use it in your code:
import { hash } from "bun-wyhash";
hash("some data here");
// 11562320457524636935n0.1.0
1 year ago