npm install node.murmur3.jsA murmur3 library for NodeJS.
Distributed under terms of the MIT license.
see test/index.js for examples
or
run npm test
murmur3.hash(str) - return intstr - [MUST] - the source string.seed - [OPTIONAL] - seed for hash default 0.hash64(str) - return arraystr - [MUST] - the source string.seed - [OPTIONAL] - seed for hash default 0.x64arch - [OPTIONAL] - is x86(false) or x64(true) default x64(true).hash_bytes(str) - return Bufferstr - [MUST] - the source string.seed - [OPTIONAL] - seed for hash default 0.x64arch - [OPTIONAL] - is x86(false) or x64(true) default x64(true).