hash-code
generate a hash code value for an object
Contents
Features
- [x] Extremely fast.
- [x] Same functionality as Java's
hashCode()
.
Install
From NPM:
> npm i @master-chief/hash-code
Usage
import hashcode from '@master-chief/hash-code'
console.log(hashcode({ cat: 'meow' })))
// output: 1225469654
Contributing
Pull requests are encouraged