Simple syntax to colored console log
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
LICENSE
README.md
README.png
demo.js
index.js
package.json

README.md

log-with-colors

Log with colors is a simple syntax to colored console log, based on chalk

log.green('This will log to console in green')

Install

$ npm i -S log-with-colors

Usage

const log = require('log-with-colors')
log.success('Hello World') //logs to the console in green

API

Function Type Info
log() default Prints with process.stdout
log.error() error Prints with process.stderr
log.success() color Equals to log.green()
log.warn() color Equals to log.yellow()
log.info() color Equals to log.cyan()
Function Type
log.gray() color
log.blue() color
log.cyan() color
log.green() color
log.yellow() color
log.red() color
log.magenta() color

License

MIT © Alexandre Lopes