{
  "name": "speedometer",
  "version": "0.1.3",
  "repository": {
    "type": "git",
    "url": "git://github.com/mafintosh/speedometer"
  },
  "description": "simple speed measurement in javascript",
  "keywords": [
    "speed",
    "bytes",
    "per",
    "second",
    "transfer"
  ],
  "author": {
    "name": "Mathias Buus Madsen",
    "email": "mathiasbuus@gmail.com"
  },
  "readme": "# speedometer\n\nSpeed measurement in Javascript\n\n\tnpm install speedometer\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\t// Simply call speed with the amount of bytes transferred\n\tvar bytesPerSecond = speed(data.length);\n\n\tconsole.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",
  "bugs": {
    "url": "https://github.com/mafintosh/speedometer/issues"
  },
  "homepage": "https://github.com/mafintosh/speedometer",
  "_id": "speedometer@0.1.3",
  "_shasum": "90a4540e5efe50811b43f6308235c23555262047",
  "_from": "speedometer@^0.1.2",
  "_resolved": "https://registry.npmjs.org/speedometer/-/speedometer-0.1.3.tgz"
}
