/hashcode

:key: A javascript module for generating hashcodes of objects

Primary LanguageJavaScriptMIT LicenseMIT

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)