murmur.js

Small murmur hash implementation.

Downloads
5
Stars
14

murmur.js

Small murmur hash implementation.

This hash is for content, not for security.

Written by: Gary Court

Install

npm install murmur.js

Use

let murmur = require('murmur.js')
let hash = murmur('some content')

// hash will be the same when the content is the same
murmur('some content') === murmur('some content')
murmur({ hello: 'world' }) === murmur({ hello: 'world' })

License

MIT

Package Rankings
Top 18.73% on Npmjs.org