Package Exports
- node-eta
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (node-eta) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
ETA
Estimated time of arrival.
API
ctor(count)
Constructs ETA object for count of iterations.
var Eta = require('node-eta');
var eta = new Eta(10);start()
Starts time measurement.
iterate()
Notifies estimator that one more iteration has finished.
getLengthInSeconds()
Returns number of seconds passed from start.
getIterationsPerSecond()
Returns current number of iterations per second.
getPercentage()
Returns completion percentage.
getEtaInSeconds()
Returns current value of ETA in seconds.
getEtaFormatted()
Returns current value formatted for easy reading by human.
License
BSD