2.0.0 • Published 3 years ago
sdbm v2.0.0
sdbm
SDBM non-cryptographic hash function
SDBM has good distribution and collisions are rare.
Install
$ npm install sdbm
Usage
import sdbm from 'sdbm';
sdbm('🦄🌈');
//=> 4053542802
It returns the hash as a positive integer.