Join us to discuss the challenges, solutions and best practices for in-house JavaScript code sharing. Tuesday, 12/17 at 10am PT/1pm ET.Sign up here »

node-murmurhash3

1.0.2 • Public • Published

node-murmurhash Build Status Coverage Status

Binding to jwerle's murmurhash3.

Install

$ npm i node-murmurhash3 --save

Usage

var murmurhash = require('node-murmurhash3');
 
murmurhash.hash('Hello, world!');

murmurhash.hash(key[, seed])

  • key (String) The key to input to the Murmurhash v3 algorithm.
  • seed (Number) The optional seed to provide to the algorithm. Defaults to 0.

Hashes the given key with the given seed (seed is optional).

License

MIT

Install

npm i node-murmurhash3

DownloadsWeekly Downloads

20

Version

1.0.2

License

MIT

Last publish

Collaborators

  • avatar