1.0.7 • Published 7 years ago

log-with-colors v1.0.7

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

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')

npm.io

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

FunctionTypeInfo
log()defaultPrints with process.stdout
log.error()errorPrints with process.stderr
log.success()colorEquals to log.green()
log.warn()colorEquals to log.yellow()
log.info()colorEquals to log.cyan()
FunctionType
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

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago