Socket
Book a DemoInstallSign in
Socket

@huggingface/splitmix64-wasm

Package Overview
Dependencies
Maintainers
4
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@huggingface/splitmix64-wasm

JS and WASM implementations of splitmix-64

latest
npmnpm
Version
0.0.1
Version published
Weekly downloads
3
200%
Maintainers
4
Weekly downloads
 
Created
Source

JS and WASM implementations of splitmix-64

Using AssemblyScript to generate a lean WASM.

The use of WASM is more for 64 bit arithmetic than for performance.

Used internally to reproduce rust tests

Let us know if you want us to expose more functions.

Usage

import { createRandomArray } from '@huggingface/splitmix64-wasm';

// Create an ArrayBuffer of data, with u64s converted to le u8s
const data = new createRandomArray(256_000, 1); // Example: 256kB of data

Keywords

splitmix64

FAQs

Package last updated on 08 Jul 2025

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