开发者社区> 镜像站> NPM> @hyperdivision/murmur3hash-wasm
@hyperdivision/murmur3hash-wasm
Murmur3 Hash implemented in hand-written WASM
Last updated a year ago by emilbayes .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @hyperdivision/murmur3hash-wasm 
SYNC missed versions from official npm registry.

murmur3hash-wasm

Build Status

Murmur3 Hash implemented in hand-written WASM

Usage

var murmur3Hash = require('murmur3hash-wasm')

console.log(murmur3Hash(Buffer.from('Emil'), 0))

API

var hash = murmur3Hash(buf, seed)

Murmur3 hash buf with initial seed. Seed must be a valid 32-bit integer, and buf must be a Buffer or Uint8Array. Returns a 32-bit integer.

Install

npm install murmur3hash-wasm

License

ISC

Current Tags

  • 1.0.0                                ...           latest (a year ago)

1 Versions

  • 1.0.0                                ...           a year ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (1)
Dev Dependencies (4)
Dependents (0)
None