New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

bun-wyhash

Package Overview
Dependencies
Maintainers
0
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bun-wyhash

Bun.hash wyhash algorithm for Node and Deno

0.1.0
latest
Source
npm
Version published
Weekly downloads
0
-100%
Maintainers
0
Weekly downloads
 
Created
Source

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

Keywords

hash

FAQs

Package last updated on 01 Nov 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts