1.0.4 • Published 8 years ago

quick-hash v1.0.4

Weekly downloads
141
License
ISC
Repository
github
Last release
8 years ago

quick-hash

Build Status js-standard-style npm version Coverage Status

var hashOfKey = quickHash(key, seed)

Murmur hash optimized for performance, not collision avoidance.

  • key (string) - the string to hash
  • seed (number) - a seed for hashing
  • returns (string) hashOfKey - A string of 5 to 7 alpha-numeric characters
var hash = require('vigour-util/hash')
hash('Any sting in the world!!!') // '16hck72'