quick-hash
DefinitelyTyped icon, indicating that this package has TypeScript declarations provided by the separate @types/quick-hash package

1.0.4 • Public • Published

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'

Dependencies (1)

Dev Dependencies (8)

Package Sidebar

Install

npm i quick-hash

Weekly Downloads

126

Version

1.0.4

License

ISC

Last publish

Collaborators

  • vigour-io