corned-beef

Create a hash value for any javascript object

Usage no npm install needed!

<script type="module">
  import cornedBeef from 'https://cdn.skypack.dev/corned-beef';
</script>

README

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