node-murmurhash3
v1.0.2
Published
Node.js binding to jwerle's murmurhash3 implementation.
Downloads
40
Maintainers
Readme
node-murmurhash
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 to0
.
Hashes the given key with the given seed (seed is optional).