A javascript module for generating hashcodes of objects
JavaScript
Switch branches/tags
Nothing to show
Latest commit e0df50e Dec 10, 2016 @m3talstorm Bring up to date
Permalink
Failed to load latest commit information.
lib Bring up to date Dec 10, 2016
test Bring up to date Dec 10, 2016
.eslintrc Bring up to date Dec 10, 2016
.gitattributes Initial commit Apr 7, 2013
.gitignore Bring up to date Dec 10, 2016
.jshintrc Bring up to date Dec 10, 2016
.travis.yml Bring up to date Dec 10, 2016
LICENSE.md Create LICENSE.md Apr 7, 2013
Procfile Bring up to date Dec 10, 2016
README.md Bring up to date Dec 10, 2016
index.js Bring up to date Dec 10, 2016
package.json Bring up to date Dec 10, 2016

README.md

Hashcode

Build Status Downloads Npm Version Node Version Issues

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)