0.0.0 • Published 11 years ago
okay-hash v0.0.0
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
0.0.0
11 years ago