fast string hashing function
Want to see pretty graphs? Log in now!
npm install string-hash
|3||downloads in the last day|
|43||downloads in the last week|
|195||downloads in the last month|
|Last Published By|
|Version||1.1.0 last updated a year ago|
|Dependents (8)||array-tracker, immutable, immutable-hash-trie, ism, persistent, persistent-hash-trie, segmentio-integrations, tracing-framework|
A fast string hashing function for Node.JS. The particular algorithm is quite
djb2, by Dan Bernstein and available
here. Differences include iterating
operator instead of the addition operator (as described at that page and
The hashing function returns a number between 0 and 4294967295 (inclusive).