@compositor/log
Logging utility for CLIs
npm i @compositor/log
const log = require('@compositor/log')
log.name = 'app'
log('hello')
log.error('whoops!')
log.start('processing something...')
setTimeout(() => {
log.stop('bye bye')
}, 1000)
MIT License