UNPKG

yadda

Version:
15 lines (11 loc) 191 B
'use strict'; module.exports = function () { var tally = 0; this.count = function (next) { tally++; next && next(); }; this.total = function () { return tally; }; };