@f/hash-str

1.0.0 • Public • Published

hash-str

Build status Git tag NPM version Code style

Simple, uniformly distributed, non-cryptographic (don't use this for anything security related!) 32-bit string hash.

Installation

$ npm install @f/hash-str

Usage

var hashStr = require('@f/hash-str')

hashStr('some string') // -> 32-bit hash of 'some string'

API

hashStr(str)

  • str - The string you want to hash

Returns: 32-bit integer hash of str.

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i @f/hash-str

Weekly Downloads

5

Version

1.0.0

License

MIT

Last publish

Collaborators

  • f