Skip to content

Latest commit

 

History

History
20 lines (17 loc) · 331 Bytes

README.md

File metadata and controls

20 lines (17 loc) · 331 Bytes

corned-beef

Create a hash value for any javascript object

Basic Usage

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);