Skip to content

coajs/coa-echo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

67ea5c3 · Sep 25, 2021

History

18 Commits
May 25, 2021
Aug 21, 2021
Sep 25, 2021
May 25, 2021
Sep 25, 2021
Apr 22, 2020
May 25, 2021
Sep 25, 2021
Apr 22, 2020
May 25, 2021
Sep 25, 2021
May 29, 2021
Sep 25, 2021

Repository files navigation

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