{"_id":"murmurhash-js","_rev":"402791","name":"murmurhash-js","description":"Native JS murmur hash implementation","dist-tags":{"latest":"1.0.0"},"maintainers":[{"name":"mikolalysenko","email":"mikolalysenko@gmail.com"}],"time":{"modified":"2021-08-04T04:37:16.000Z","created":"2013-06-20T19:22:44.633Z","1.0.0":"2014-04-29T01:08:20.484Z","0.0.1":"2013-06-20T19:24:55.089Z","0.0.0":"2013-06-20T19:22:44.633Z"},"users":{"chrisrus":true,"shanewholloway":true,"dnunez24":true},"author":{"name":"Gary Court"},"repository":{"type":"git","url":"git://github.com/mikolalysenko/murmurhash-js.git"},"versions":{"1.0.0":{"name":"murmurhash-js","version":"1.0.0","description":"Native JS murmur hash implementation","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/mikolalysenko/murmurhash-js.git"},"keywords":["murmur","hash","string","murmur2","murmur3","fast"],"author":{"name":"Gary Court"},"license":"MIT","gitHead":"72aabce3f52cb8f16245692a69fd35951e165af0","bugs":{"url":"https://github.com/mikolalysenko/murmurhash-js/issues"},"homepage":"https://github.com/mikolalysenko/murmurhash-js","_id":"murmurhash-js@1.0.0","dist":{"shasum":"b06278e21fc6c37fa5313732b0412bcb6ae15f51","size":2544,"noattachment":false,"key":"/murmurhash-js/-/murmurhash-js-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/murmurhash-js/download/murmurhash-js-1.0.0.tgz"},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"mikolalysenko","email":"mikolalysenko@gmail.com"},"maintainers":[{"name":"mikolalysenko","email":"mikolalysenko@gmail.com"}],"directories":{},"publish_time":1398733700484,"_cnpm_publish_time":1398733700484,"_hasShrinkwrap":false},"0.0.1":{"name":"murmurhash-js","version":"0.0.1","description":"Native JS murmur hash implementation","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/mikolalysenko/murmurhash-js.git"},"keywords":["murmur","hash","string","murmur2","murmur3","fast"],"author":{"name":"Gary Court"},"license":"MIT","readmeFilename":"README.md","gitHead":"72aabce3f52cb8f16245692a69fd35951e165af0","bugs":{"url":"https://github.com/mikolalysenko/murmurhash-js/issues"},"_id":"murmurhash-js@0.0.1","dist":{"shasum":"145d856773721e767429531aaefef706c0669015","size":2538,"noattachment":false,"key":"/murmurhash-js/-/murmurhash-js-0.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/murmurhash-js/download/murmurhash-js-0.0.1.tgz"},"_from":".","_npmVersion":"1.2.24","_npmUser":{"name":"mikolalysenko","email":"mikolalysenko@gmail.com"},"maintainers":[{"name":"mikolalysenko","email":"mikolalysenko@gmail.com"}],"directories":{},"publish_time":1371756295089,"_cnpm_publish_time":1371756295089,"_hasShrinkwrap":false},"0.0.0":{"name":"murmurhash-js","version":"0.0.0","description":"Native JS murmur hash implementation","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/mikolalysenko/murmurhash-js.git"},"keywords":["murmur","hash","string","murmur2","murmur3","fast"],"author":{"name":"Gary Court"},"license":"MIT","readmeFilename":"README.md","gitHead":"72aabce3f52cb8f16245692a69fd35951e165af0","bugs":{"url":"https://github.com/mikolalysenko/murmurhash-js/issues"},"_id":"murmurhash-js@0.0.0","dist":{"shasum":"b96def37791c62aed09ffc125e8d3a0d69053000","size":2586,"noattachment":false,"key":"/murmurhash-js/-/murmurhash-js-0.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/murmurhash-js/download/murmurhash-js-0.0.0.tgz"},"_from":".","_npmVersion":"1.2.24","_npmUser":{"name":"mikolalysenko","email":"mikolalysenko@gmail.com"},"maintainers":[{"name":"mikolalysenko","email":"mikolalysenko@gmail.com"}],"directories":{},"publish_time":1371756164633,"_cnpm_publish_time":1371756164633,"_hasShrinkwrap":false}},"readme":"# MurmurHash.js\n\nAn optimized JavaScript implementation of the MurmurHash algorithms.\n\nThese algorithms take a JavaScript string (and a seed), and quickly create a non-cryptographic 32-bit hash from it. And by quick I mean sub-millisecond performance.\n\nMore information about these algorithms can be found at:\n\n*\t[MurmurHash Homepage](http://sites.google.com/site/murmurhash/)\n*\t[Wikipedia Entry on MurmurHash](http://en.wikipedia.org/wiki/MurmurHash) \n\n## Install\n\n    npm install murmurhash-js\n    \n## API\n\n```javascript\nvar murmur = require(\"murmurhash-js\")\n```\n\n### Methods\n\n#### `murmur.murmur2(key, seed)`\nRuns the murmur2 hash algorithm on the string `key` with initial seed `seed`.\n\n#### `murmur.murmur3(key, seed)`\nRuns the murmur3 hash algorithm on the string `key` with initial seed `seed`.\n\n**Note** `require(\"murmur-hash\")` is the same as `murmur.murmur3`\n\n## License (MIT)\n\nCopyright (c) 2011 Gary Court\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.","_attachments":{},"homepage":"https://github.com/mikolalysenko/murmurhash-js","bugs":{"url":"https://github.com/mikolalysenko/murmurhash-js/issues"},"license":"MIT"}