hashcode
hashcode copied to clipboard
:key: A javascript module for generating hashcodes of objects
Hashcode
Hashcode is a simple javascript module for generating hashcodes (integer representations) of objects.
Install
Node
npm install hashcode --save
Usage
Node
const Hashcode = require('hashcode')
const obj = {
'foo' : 42,
'bar' : "hello world",
'baz' : false,
}
const hash = Hashcode.value(obj)
console.log(hash)