This package has been deprecated

Author message:

Unmaintained.

okay-hash

0.0.0 • Public • Published

ok-hash

A non-secure hash that's fast and simple. Hashes strings into signed numbers.

okhash('foo') // 101574

// hashes are consistent
okhash('foo') // 101574

// and are numeric
okhash('foo bar') // -682507847

// choose your own representation
okhash('foo bar').toString(32) // '-kasfi7'

install

With npm do

npm install okay-hash

Readme

Keywords

none

Package Sidebar

Install

npm i okay-hash

Weekly Downloads

1

Version

0.0.0

License

BSD

Last publish

Collaborators

  • tmcw