m3talstorm / hashcode

:key: A javascript module for generating hashcodes of objects

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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)

About

:key: A javascript module for generating hashcodes of objects

License:MIT License


Languages

Language:JavaScript 100.0%