Package Exports
- @f/hash-str
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@f/hash-str) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
hash-str
Simple, uniformly distributed, non-cryptographic (don't use this for anything security related!) 32-bit string hash.
Installation
$ npm install @f/hash-strUsage
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