{"_id":"node-eta","_rev":"7-b081cd0fb7038dc26cbf78f29faaf6e2","name":"node-eta","description":"Estimated time to arrival","dist-tags":{"latest":"0.9.0"},"versions":{"0.1.0":{"name":"node-eta","version":"0.1.0","description":"Estimated time of arrival","main":"index.js","repository":{"type":"git","url":"git://github.com/titarenko/eta.git"},"keywords":["eta","estimated time of arrival","estimated","time","arrival"],"author":{"name":"Constantin Titarenko"},"license":"BSD","bugs":{"url":"https://github.com/titarenko/eta/issues"},"homepage":"https://github.com/titarenko/eta","_id":"node-eta@0.1.0","_shasum":"16755997c579fb9ed8f0e05b0f68f875b35ff18c","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"titarenko","email":"constantin.titarenko@gmail.com"},"maintainers":[{"name":"titarenko","email":"constantin.titarenko@gmail.com"}],"dist":{"shasum":"16755997c579fb9ed8f0e05b0f68f875b35ff18c","tarball":"https://registry.npmjs.org/node-eta/-/node-eta-0.1.0.tgz","integrity":"sha512-19U2VN/niI2ktXnWST3TIqJN4VZCm3hhEbzoH6tYzQi3GVP7s9r8nAorQuh3UQjHwbL0CU21UB3g3bisVPYyUA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGtHR3ODX9u8deRkwUhul6/PvsYhnoq3rNO9iQZDMLL3AiB4mE0XLkk/nIQVnZRSlDwgapzCh8vHNGUdKTfhQcF7Vw=="}]}},"0.1.1":{"name":"node-eta","version":"0.1.1","description":"Estimated time of arrival","main":"index.js","repository":{"type":"git","url":"git://github.com/titarenko/eta.git"},"keywords":["eta","estimated time of arrival","estimated","time","arrival"],"author":{"name":"Constantin Titarenko"},"license":"BSD","bugs":{"url":"https://github.com/titarenko/eta/issues"},"homepage":"https://github.com/titarenko/eta","_id":"node-eta@0.1.1","_shasum":"4066109b39371c761c72b7ebda9a9ea0a5de121f","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"titarenko","email":"constantin.titarenko@gmail.com"},"maintainers":[{"name":"titarenko","email":"constantin.titarenko@gmail.com"}],"dist":{"shasum":"4066109b39371c761c72b7ebda9a9ea0a5de121f","tarball":"https://registry.npmjs.org/node-eta/-/node-eta-0.1.1.tgz","integrity":"sha512-HRodgoMm68r2rB73rKTxNVYIplYuExiKNTzUyI+JmwNeLfeM8nEwPkvsEeH+WmlWPfKr2q7Kddls24f/mGN2FQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA2kVeF9etwyYZmZGLPC1bFiz3yp8dix1V3TMOngfeRiAiEA+6ntulJhkgOc+zbFLsScHfQdHMeaYn/Sg3S1J3j/am0="}]}},"0.9.0":{"name":"node-eta","version":"0.9.0","description":"Estimated time to arrival","main":"index.js","repository":{"type":"git","url":"git://github.com/titarenko/eta.git"},"keywords":["eta","estimated time to arrival","estimated","time","arrival"],"author":{"name":"Constantin Titarenko"},"license":"MIT","bugs":{"url":"https://github.com/titarenko/eta/issues"},"homepage":"https://github.com/titarenko/eta","gitHead":"bc173bcd0cdbab43bd3998133dfd4eda3d4de040","_id":"node-eta@0.9.0","scripts":{},"_shasum":"9fb0b099bcd2a021940e603c64254dc003d9a7a8","_from":".","_npmVersion":"2.10.1","_nodeVersion":"0.12.4","_npmUser":{"name":"titarenko","email":"constantin.titarenko@gmail.com"},"dist":{"shasum":"9fb0b099bcd2a021940e603c64254dc003d9a7a8","tarball":"https://registry.npmjs.org/node-eta/-/node-eta-0.9.0.tgz","integrity":"sha512-mTCTZk29tmX1OGfVkPt63H3c3VqXrI2Kvua98S7iUIB/Gbp0MNw05YtUomxQIxnnKMyRIIuY9izPcFixzhSBrA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDCA0gwfOluh12Q0KFW+1CBj8MLPOKH0yvo/Ht2Fs9Q9QIgc+V5QlwqGS7Do5LIJqq8VHtex+ADJdI990SLb/0cEjw="}]},"maintainers":[{"name":"titarenko","email":"constantin.titarenko@gmail.com"}]}},"readme":"# ETA\n\nEstimated time to arrival.\n\n## API\n\n### ctor(count[, autoStartOrOptions])\n\nConstructs ETA object for `count` of iterations. \nOptionally accepts additional parameter specifying whether time measurement should start immediately (autoStart), or, if it is an object, then it will be treated as options.\n\nOptions are:\n\n- autoStart - already described\n- numberFormatter - function, which accepts number and returns string\n\n```js\nvar Eta = require('node-eta');\nvar eta = new Eta(10);\n```\n\n### start()\n\nStarts time measurement.\n\n### iterate([anything1, anything2, ...])\n\nNotifies estimator that one more iteration has finished.\nOptionally supports any number of arguments that will be passed to `util.format` to produce message, associated with last iteration.\n\n### format([anything1, anything2, ...])\n\nPasses arguments to `util.format` and treats its invocation result as layout where following placeholders can participate:\n\n- `{{elapsed}}` - elapsed time in seconds\n- `{{rate}}` - current rate (iterations per second)\n- `{{estimated}}` - estimated time (total) in seconds\n- `{{progress}}` - progress (fraction of 1)\n- `{{eta}}` - estimated time to arrival in seconds\n- `{{etah}}` - formatted (for human-readability) eta\n- `{{last}}` - message from last iteration, if any\n\nReturns layout filled with placeholder values.\n\n## License\n\nMIT\n","maintainers":[{"name":"titarenko","email":"constantin.titarenko@gmail.com"}],"time":{"modified":"2022-06-21T14:20:03.023Z","created":"2014-06-26T11:53:37.878Z","0.1.0":"2014-06-26T11:53:37.878Z","0.1.1":"2014-06-26T12:04:50.750Z","0.9.0":"2015-11-27T18:06:53.319Z"},"homepage":"https://github.com/titarenko/eta","keywords":["eta","estimated time to arrival","estimated","time","arrival"],"repository":{"type":"git","url":"git://github.com/titarenko/eta.git"},"author":{"name":"Constantin Titarenko"},"bugs":{"url":"https://github.com/titarenko/eta/issues"},"license":"MIT","readmeFilename":"README.md"}