node-murmurhash
murmurhash V2, support utf8 Buffer
Last updated 12 years ago by fengmk2 .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install node-murmurhash 
SYNC missed versions from official npm registry.

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

Current Tags

  • 2.1.0                                ...           latest (11 years ago)

10 Versions

  • 2.1.0                                ...           11 years ago
  • 2.0.1                                ...           11 years ago
  • 2.0.0                                ...           12 years ago
  • 1.1.0                                ...           12 years ago
  • 1.0.1                                ...           12 years ago
  • 1.0.0                                ...           12 years ago
  • 0.0.4                                ...           13 years ago
  • 0.0.3                                ...           13 years ago
  • 0.0.2                                ...           13 years ago
  • 0.0.1                                ...           13 years ago
Maintainers (1)
Downloads
Total 25
Today 0
This Week 1
This Month 21
Last Day 0
Last Week 9
Last Month 4
Dependencies (2)
Dev Dependencies (8)
Dependents (1)

© 2010 - cnpmjs.org x YWFE | Home | YWFE