{"_id":"sha1-digest","_rev":"225601","name":"sha1-digest","description":"A simple, cross-platform streaming sha1 digest.","dist-tags":{"latest":"0.0.1"},"maintainers":[{"name":"creationix","email":"tim@creationix.com"}],"time":{"modified":"2021-06-03T15:42:33.000Z","created":"2013-07-05T16:00:15.592Z","0.0.1":"2013-07-05T16:00:15.592Z"},"users":{},"author":{"name":"Tim Caswell","email":"tim@creationix.com"},"repository":{"type":"git","url":"git://github.com/creationix/sha1-digest.git"},"versions":{"0.0.1":{"name":"sha1-digest","version":"0.0.1","description":"A simple, cross-platform streaming sha1 digest.","main":"sha1.js","browser":{"./sha1.js":"./sha1-browser.js"},"scripts":{"test":"node test.js"},"repository":{"type":"git","url":"git://github.com/creationix/sha1-digest.git"},"keywords":["sha1","jsgit","git","digest","browser"],"author":{"name":"Tim Caswell","email":"tim@creationix.com"},"license":"MIT","bugs":{"url":"https://github.com/creationix/sha1-digest/issues"},"readmeFilename":"README.md","_id":"sha1-digest@0.0.1","dist":{"shasum":"99106ac4c4aa574dc1d6877e0fbf9155621a9854","size":839,"noattachment":false,"key":"/sha1-digest/-/sha1-digest-0.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/sha1-digest/download/sha1-digest-0.0.1.tgz"},"_from":".","_npmVersion":"1.2.32","_npmUser":{"name":"creationix","email":"tim@creationix.com"},"maintainers":[{"name":"creationix","email":"tim@creationix.com"}],"directories":{},"publish_time":1373040015592,"_cnpm_publish_time":1373040015592,"_hasShrinkwrap":false}},"readme":"sha1-digest\n===========\n\nA simple, cross-platform streaming sha1 digest.\n\nUsage is very simple and should work the same in both node.js and browser versions.\n\n```js\nvar sha1sum = require('sha1-digest')();\n\n// Update accepts either binary objects or strings.\n// The strings will be encoded as UTF8 bytes.\nsha1sum.update(\"Hello \");\nsha1sum.update(\"World\\n\");\n\nvar hex = sha1sum.digest();\n```\n","_attachments":{},"readmeFilename":"README.md","bugs":{"url":"https://github.com/creationix/sha1-digest/issues"},"license":"MIT"}