Const
Console extensions that add color-coded logging methods.
Import this module to add the following methods to the global console object:
console.success()
console.jsonString()
console.error()
console.log()
console.info()
console.warn()
import '@rogerpence/rp-utils/console';console.success('Operation completed!');console.jsonString({ foo: 'bar' }); Copy
import '@rogerpence/rp-utils/console';console.success('Operation completed!');console.jsonString({ foo: 'bar' });
Console extensions that add color-coded logging methods.
Import this module to add the following methods to the global console object:
console.success()- Green text for success messagesconsole.jsonString()- Pretty-printed JSON in greenconsole.error()- Red textconsole.log()- Blue textconsole.info()- Cyan textconsole.warn()- Yellow text