šŸš€ Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more →
Socket
Sign inDemoInstall
Socket

node-murmurhash

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-murmurhash

murmurhash V2, support utf8 Buffer

2.1.0
latest
Source
npm
Version published
Weekly downloads
1.2K
32.87%
Maintainers
1
Weekly downloads
Ā 
Created
Source

node-murmurhash

NPM version build status Test coverage Gittip David deps node version npm download

murmurhash V2, support utf8 Buffer.

Install

$ npm install node-murmurhash --save

Usage

var murmurhash = require('node-murmurhash');

murmurhash('hello 中国', 97); // 1248731102

Benchmark

node version: v4.2.1, date: Sun Nov 15 2015 01:01:49 GMT+0800 (CST)
Starting...
2 tests completed.

murmurhash(new Buffer(ascii)) x 21,164,676 ops/sec ±0.85% (98 runs sampled)
murmurhash(new Buffer(utf8))  x 13,926,544 ops/sec ±0.59% (99 runs sampled)

see also: benchmark

License

MIT

Keywords

node-murmurhash

FAQs

Package last updated on 25 Nov 2015

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