Generates hashes from objects
Smaller than object-hash
34.7 KB vs 769 B
yarn add slim-object-hash
import slimObjectHash from 'slim-object-hash'
const objHash = slimObjectHash({ a: 'a', b: 'b', c: 'c' })
const objHash2 = slimObjectHash({ c: 'c', b: 'b', a: 'a' })
console.log(objHash) // 2061408781
console.log(objHash === objHash2) // true
yarn test