{"_id":"speedometer","_rev":"24-b8e358a490310a292fabaa092974537c","name":"speedometer","dist-tags":{"latest":"1.1.0"},"versions":{"0.1.0":{"name":"speedometer","version":"0.1.0","keywords":["speed","bytes","per","second","transfer"],"author":{"name":"Mathias Buus Madsen","email":"mathiasbuus@gmail.com"},"_id":"speedometer@0.1.0","maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}],"dist":{"shasum":"13661635cbeec7a7164b096b8910629506feb6ef","tarball":"https://registry.npmjs.org/speedometer/-/speedometer-0.1.0.tgz","integrity":"sha512-w+xR1pJwu32Y30Snp4FsCbqsfJ7UNTEYHwLsiciPz/iDSMcCALCKhbTWMSPc0rTgUz16QAl/6or74vznukJIZg==","signatures":[{"sig":"MEQCIH//ogvlP10KxFfJlqgmuls+JxDSVu/rYuvr0ySgUvi3AiAFhTrkOqlKrxYG7mDRohqjAmkXZpYXJvd2lLFE68Ytlw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"_from":".","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"repository":{"url":"git://github.com/mafintosh/speedometer","type":"git"},"_npmVersion":"1.2.11","description":"simple speed measurement in javascript","directories":{}},"0.1.1":{"name":"speedometer","version":"0.1.1","keywords":["speed","bytes","per","second","transfer"],"author":{"name":"Mathias Buus Madsen","email":"mathiasbuus@gmail.com"},"_id":"speedometer@0.1.1","maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}],"dist":{"shasum":"e5343ecb825182a5ddb211b2527b911e3b963122","tarball":"https://registry.npmjs.org/speedometer/-/speedometer-0.1.1.tgz","integrity":"sha512-ghVxt/DQLt4OFTp4Om4m54rmuDdIkUc6hOMz+EY8lEp8B5LURI37FWxFzvlv8HZyYLD5DaRgeJwRNJYrF9IOjg==","signatures":[{"sig":"MEQCIAzA0iN76qqeCk0hNBtAUXcUQQwvDUByLHTFgeizhTCkAiBocVCyN799ZVxb9hVLRDPHLf2M/FpMwHrzLoBG3n36dA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"_from":".","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"repository":{"url":"git://github.com/mafintosh/speedometer","type":"git"},"_npmVersion":"1.2.18","description":"simple speed measurement in javascript","directories":{}},"0.1.2":{"name":"speedometer","version":"0.1.2","keywords":["speed","bytes","per","second","transfer"],"author":{"name":"Mathias Buus Madsen","email":"mathiasbuus@gmail.com"},"_id":"speedometer@0.1.2","maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}],"bugs":{"url":"https://github.com/mafintosh/speedometer/issues"},"dist":{"shasum":"1c1a93e7846de8b5d3c9447b1976aa0a5462ff48","tarball":"https://registry.npmjs.org/speedometer/-/speedometer-0.1.2.tgz","integrity":"sha512-f6xGw3yJRp4Kls1CXeGIq7W1Nw/NXZHfVIqAN6s94gF3z5hu6hwdUFHhLP8LlBKkFI6yX53zmEueZlgyRCGyFw==","signatures":[{"sig":"MEYCIQCIuU/m7t2XU0DB1sCh1FD7xUzdGE71iAGsKMAb3dNghAIhAIYCU9VpCVSAPzZcQfiJTeXVRqIRY2KEnqxlxvrnL7OT","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"_from":".","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"repository":{"url":"git://github.com/mafintosh/speedometer","type":"git"},"_npmVersion":"1.3.2","description":"simple speed measurement in javascript","directories":{}},"0.1.3":{"name":"speedometer","version":"0.1.3","keywords":["speed","bytes","per","second","transfer"],"author":{"name":"Mathias Buus Madsen","email":"mathiasbuus@gmail.com"},"_id":"speedometer@0.1.3","maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}],"homepage":"https://github.com/mafintosh/speedometer","bugs":{"url":"https://github.com/mafintosh/speedometer/issues"},"dist":{"shasum":"90a4540e5efe50811b43f6308235c23555262047","tarball":"https://registry.npmjs.org/speedometer/-/speedometer-0.1.3.tgz","integrity":"sha512-DnYFZlekzguAmW31pUet/3XtyS+6/9B0pj0dhaajNVj700gkI+BWazkGKWaVck526Oqojv4XKSa3uYF6SLXSfA==","signatures":[{"sig":"MEUCICn3pjB9Sc3wVjPoopohWiLHhkLwN1GXe/hz+D5+Bj+aAiEAn35TnzvS2sjq3BSMvnWlCwD3G1AMcyRlz9VqSdtK9+I=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"_from":".","_shasum":"90a4540e5efe50811b43f6308235c23555262047","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"repository":{"url":"git://github.com/mafintosh/speedometer","type":"git"},"_npmVersion":"1.4.9","description":"simple speed measurement in javascript","directories":{}},"0.1.4":{"name":"speedometer","version":"0.1.4","keywords":["speed","bytes","per","second","transfer"],"author":{"name":"Mathias Buus Madsen","email":"mathiasbuus@gmail.com"},"_id":"speedometer@0.1.4","maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}],"homepage":"https://github.com/mafintosh/speedometer","bugs":{"url":"https://github.com/mafintosh/speedometer/issues"},"dist":{"shasum":"9876dbd2a169d3115402d48e6ea6329c8816a50d","tarball":"https://registry.npmjs.org/speedometer/-/speedometer-0.1.4.tgz","integrity":"sha512-phdEoDlA6EUIVtzwq1UiNMXDUogczp204aYF/yfOhjNePWFfIpBJ1k5wLMuXQhEOOMjuTJEcc4vdZa+vuP+n/Q==","signatures":[{"sig":"MEUCIQD0avuI4OglLFQHC+YmJIHxwwfGrWq3liHtpeqJkRw41gIgIuuFSYKR6bJYsDJiBr/1rLupJsmMS4QC+gNwHR8olnw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"_from":".","_shasum":"9876dbd2a169d3115402d48e6ea6329c8816a50d","gitHead":"0771a135bad8a8a7d31770ff2e7a29000e2ce5a1","scripts":{},"_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"repository":{"url":"git://github.com/mafintosh/speedometer","type":"git"},"_npmVersion":"1.4.28","description":"simple speed measurement in javascript","directories":{}},"1.0.0":{"name":"speedometer","version":"1.0.0","keywords":["speed","bytes","per","second","transfer"],"author":{"name":"Mathias Buus Madsen","email":"mathiasbuus@gmail.com"},"license":"MIT","_id":"speedometer@1.0.0","maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}],"homepage":"https://github.com/mafintosh/speedometer","bugs":{"url":"https://github.com/mafintosh/speedometer/issues"},"dist":{"shasum":"cd671cb06752c22bca3370e2f334440be4fc62e2","tarball":"https://registry.npmjs.org/speedometer/-/speedometer-1.0.0.tgz","integrity":"sha512-lgxErLl/7A5+vgIIXsh9MbeukOaCb2axgQ+bKCdIE+ibNT4XNYGNCR1qFEGq6F+YDASXK3Fh/c5FgtZchFolxw==","signatures":[{"sig":"MEQCIHUfYOpsv7W81/99FzUALJHahxao8lwULIw+W7poESFrAiACfkrJd0MO6VXy+FODPsz1qh6aY9XzhH9ZlahMImyUNg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"_from":".","_shasum":"cd671cb06752c22bca3370e2f334440be4fc62e2","gitHead":"5e92f4d27a0fa7af5de71fcf2b5bff73e2e4c862","scripts":{},"_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"repository":{"url":"git://github.com/mafintosh/speedometer","type":"git"},"_npmVersion":"2.14.4","description":"simple speed measurement in javascript","directories":{},"_nodeVersion":"4.1.1"},"1.1.0":{"name":"speedometer","version":"1.1.0","keywords":["speed","bytes","per","second","transfer"],"author":{"name":"Mathias Buus Madsen","email":"mathiasbuus@gmail.com"},"license":"MIT","_id":"speedometer@1.1.0","maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}],"homepage":"https://github.com/mafintosh/speedometer#readme","bugs":{"url":"https://github.com/mafintosh/speedometer/issues"},"dist":{"shasum":"a30b13abda45687a1a76977012c060f2ac8a7934","tarball":"https://registry.npmjs.org/speedometer/-/speedometer-1.1.0.tgz","fileCount":4,"integrity":"sha512-z/wAiTESw2XVPssY2XRcme4niTc4S5FkkJ4gknudtVoc33Zil8TdTxHy5torRcgqMqksJV2Yz8HQcvtbsnw0mQ==","signatures":[{"sig":"MEQCIH83CNkVvv3YK/ZBm45u6MhjdW4+49jVUyEwWGSRc9RuAiBVI4j5JJF0M/h0kqeBDNo+Iua/MPRT77S5jiaom/Hc2g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3034,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbJ4YxCRA9TVsSAnZWagAAhUYP/3kQZVjftT0/4XtmRIBs\nAyJtWVzlwFmzgtIyAx6y+I6huGUJapVqs6nCVweTifnmZ7E1Jco6hf4aSeOF\nbJuBhQS2rYy0VPcELQCDXwWUQ3mg5+82onkqjQhWJnG8ywMPXYaH1TAwEdmR\n0jiEZtEulNg2qTszwj3VEhZNJqMRNCDtfugN20HlzyFnGVCPGp9yQ64/P3mT\nTtEQPhf8v+LgeSg4Y+j3bLQ6WIru2oEJlmcMLgLchOPxbdKmJeR3I09lPprE\nMTDEXnSJjiPur6X6oR9ZqAyGn41sm6RTEZYGn7510rDDt2BRdw3kwYxzdWp6\ntgusxOGEW2xuIC8HN8K1Uk91dae/+bpLnpdXTPzmrZAEmqJl39Gz3fe5JZkO\nKSCDMJjv+4sm7jZ7CvZ3RrdzZZhQ2UoaBMEDn6aBjauhetaH27NXVzgplBlH\n5fkLZ01Dee1CQ+50hRmU/k9oUtNekHpnB6Ty0/VJus6Dya/ja3lUkNwW7B/T\n2Ez7m3VuglXwM5/iwdPgneusS4skZR9rsqOEc8duzPG1kSjWpbarSU5Ir93S\nEd7FVmLdDMt8/BvENhGsqtxjaLKug2776wjpQpl8lH607lb2KUEfNGlFIL0c\nQVNaOq+5DPtrJjH8CJIY6S39LzOdOfWQ2o0C3GRgtZbXP03ZdTSjiN3fOJ7P\nIzt4\r\n=x7jv\r\n-----END PGP SIGNATURE-----\r\n"},"gitHead":"a7b53aca2cf17c1bfd4daeadcba99881fb5dc09e","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"repository":{"url":"git://github.com/mafintosh/speedometer.git","type":"git"},"_npmVersion":"6.1.0","description":"simple speed measurement in javascript","directories":{},"_nodeVersion":"10.3.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/speedometer_1.1.0_1529316913474_0.6136916881815482","host":"s3://npm-registry-packages"}}},"time":{"created":"2013-03-20T19:16:23.317Z","modified":"2025-10-13T17:09:50.938Z","0.1.0":"2013-03-20T19:16:27.510Z","0.1.1":"2013-04-16T21:26:04.045Z","0.1.2":"2013-07-20T19:06:03.883Z","0.1.3":"2014-06-30T19:35:40.910Z","0.1.4":"2014-12-24T09:52:07.307Z","1.0.0":"2015-10-16T11:50:15.376Z","1.1.0":"2018-06-18T10:15:13.535Z"},"bugs":{"url":"https://github.com/mafintosh/speedometer/issues"},"author":{"name":"Mathias Buus Madsen","email":"mathiasbuus@gmail.com"},"license":"MIT","homepage":"https://github.com/mafintosh/speedometer#readme","keywords":["speed","bytes","per","second","transfer"],"repository":{"url":"git://github.com/mafintosh/speedometer.git","type":"git"},"description":"simple speed measurement in javascript","maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}],"readme":"# speedometer\n\nSpeed measurement in Javascript\n\n```\nnpm install speedometer\n```\n\n## Usage\n\n``` js\nvar speedometer = require('speedometer')\nvar fs = require('fs')\n\n// Let's measure how fast we can read from /dev/urandom\nvar speed = speedometer()\nvar stream = fs.createReadStream('/dev/urandom')\n\nstream.on('data', function(data) {\n  // Simply call speed with the amount of bytes transferred\n  var bytesPerSecond = speed(data.length)\n\n  console.log(bytesPerSecond+' bytes/second')\n})\n```\n\nYou can always get the current speed by calling `speed()`.\n\nPer default `speedometer` uses a 5 second buffer.\nTo change this simply pass another value to the constructor\n\n``` js\nvar speed = speedometer(20) // uses a 20s buffer instead\n```\n\n## License\n\nMIT\n","readmeFilename":"README.md","users":{"wayn":true,"wenbing":true,"heartnett":true,"chamerling":true,"pedromsilva":true}}