Skip to content

Latest commit

 

History

History
61 lines (39 loc) · 1.23 KB

README.md

File metadata and controls

61 lines (39 loc) · 1.23 KB

coa-echo

GitHub license npm version npm downloads PRs Welcome

Lightweight console color logger for node.js

Installing

Using npm

$ npm install coa-echo

Using yarn

$ yarn add coa-echo

Example

import { echo } from 'coa-echo'

echo.log('log black')
echo.warn('warn yellow')
echo.info('info magenta')
echo.error('error red')
echo.grey('grey')
echo.blue('blue')
echo.green('green')
echo.cyan('cyan')

Note: Typescript is highly recommended

API

echo.log(message[,params])
echo.warn(message[,params])
echo.info(message[,params])
echo.error(message[,params])
echo.grey(message[,params])
echo.blue(message[,params])
echo.green(message[,params])
echo.cyan(message[,params])

License

MIT