Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/prestaul/corned-beef

Create a hash value for any javascript object
https://github.com/prestaul/corned-beef

Last synced: about 18 hours ago
JSON representation

Create a hash value for any javascript object

Awesome Lists containing this project

README

        

corned-beef
===========

Create a hash value for any javascript object

Basic Usage
-----------
```js
var hash = require('corned-beef');

assert.equal(hash('foo bar is the best'), 7489163405);
assert.equal(hash({
foo:'bar',
boo:'far'
}), -5924828157);
assert.equal(hash({
boo:'far',
foo:'bar'
}), -5924828157);
```