updatable-log
pretty logger with the ability to update lines in place
Example
const log = ;const chalk = ;const delay = ; { // ignore everything except log.important() and log.error() logquiet = quiet; log; log; for let page = 0; page < 40; page++ await ; logclear; console; try ; catch e log; } { log; await ; if page === 10 log; } { log; thiswillthrowanullpointer;}
To run this example yourself:
git clone https://github.com/noahsug/updatable-log.git
cd updatable-log
npm i
npm run example