Socket
Socket
Sign inDemoInstall

quick-hash

Package Overview
Dependencies
17
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    quick-hash

Murmur hash optimized for performance, not collision avoidance.


Version published
Weekly downloads
30
decreased by-25%
Maintainers
1
Install size
4.06 MB
Created
Weekly downloads
 

Readme

Source

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'

Keywords

FAQs

Last updated on 12 Oct 2016

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc