caba
Simple counter in console.
This package is deprecated and not supported any more. I recomend to use it's successor - cllc.
Install
npm install caba
No dependences.
Usage
// Create counter:var caba = ;// //or//// var caba = require('caba')('%s tasks done.', 0); // Start countercabastart;// //or//// caba.start('%s tasks done.', 0); // Increment countercaba;// //or//// caba.step(5); // Safe replacement to console.logcaba; // Stop countercaba; // stop and clear// //or//// caba.finish(); // stop and save last string// //or//// caba.finish('Well done %s tasks!', 100); // stop with special string
License
MIT