Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/prestaul/corned-beef
- Owner: Prestaul
- License: mit
- Created: 2014-01-17T20:24:14.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2014-01-21T21:33:46.000Z (almost 11 years ago)
- Last Synced: 2024-10-06T17:08:57.240Z (about 1 month ago)
- Language: JavaScript
- Size: 145 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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);
```