1.0.1 • Published 4 years ago
custom-nodejs-logs
Licence
ISC
Version
1.0.1
Deps
0
Size
1 kB
Vulns
0
Weekly
0
custom-nodejs-logs
A simple useful utility to console.log with different colors
How to use...
Import the module:\
import logs from 'custom-nodejs-logs' //or
const logs = require('custom-nodejs-logs')
const text = `The text`
logs.success(text) // Green
logs.info(text) // Orange
logs.error(text) // Red