{"name":"backo2","version":"1.0.1","repository":{"type":"git","url":"https://github.com/mokesmokes/backo"},"description":"simple backoff based on segmentio/backo","keywords":["backoff"],"dependencies":{},"devDependencies":{"mocha":"*","should":"*"},"license":"MIT","gitHead":"de41fb05d1ce94b82e3b1df827fa25511a95b779","bugs":{"url":"https://github.com/mokesmokes/backo/issues"},"homepage":"https://github.com/mokesmokes/backo","_id":"backo2@1.0.1","scripts":{},"_shasum":"2e4bd2ed1b9c09b4bd9fe6773f64755dda605abf","_from":"./","_npmVersion":"1.4.28","_npmUser":{"name":"mokesmokes","email":"mokesmokes@gmail.com"},"maintainers":[{"name":"mokesmokes","email":"mokesmokes@gmail.com"}],"dist":{"shasum":"2e4bd2ed1b9c09b4bd9fe6773f64755dda605abf","tarball":"http://registry-npm.ywwl.com/backo2/download/backo2-1.0.1.tgz","integrity":"sha512-6qR0Ae8MCBgo0vbK4n4HikXUf5CLtZxRDUcNRea1dyi49ffVW6H/Sje6NbOcXAZyB9SD18BZOvWrKyoHqQ2rVA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD7xXyl8RJSlMhwilCak3Clkv4uFJWr13vyMxrfttcVCgIgbKcwMF0j0/n1p3c8UUHk13YkQLa8MXkavKNHqYuNIGA="}],"size":1513,"noattachment":false,"key":"/backo2/-/backo2-1.0.1.tgz"},"directories":{},"readme":"# backo\n\n  Simple exponential backoff because the others seem to have weird abstractions.\n\n## Installation\n\n```\n$ npm install backo\n```\n\n## Options\n\n - `min` initial timeout in milliseconds [100]\n - `max` max timeout [10000]\n - `jitter` [0]\n - `factor` [2]\n\n## Example\n\n```js\nvar Backoff = require('backo');\nvar backoff = new Backoff({ min: 100, max: 20000 });\n\nsetTimeout(function(){\n  something.reconnect();\n}, backoff.duration());\n\n// later when something works\nbackoff.reset()\n```\n\n# License\n\n  MIT\n","publish_time":1416693438558,"_cnpm_publish_time":1416693438558,"dist-tags":{"latest":"1.0.2"}}