x-chalk

1.0.1 • Public • Published

x-chalk

A modest wrapper around chalk so I don't have to wrap every call to chalk with console.log. Exports most common colors, and also re-exports chalk as c for convenience.

import { red, blue, log, c } from 'x-chalk';
 
red(`This will log in red!`);
blue.dim(`This will log in dim blue!`);
log(c`{yellow fancy chalk stuff} {green is fun!}`);

Readme

Keywords

none

Package Sidebar

Install

npm i x-chalk

Weekly Downloads

494

Version

1.0.1

License

MIT

Unpacked Size

9.27 kB

Total Files

6

Last publish

Collaborators

  • jaredhenderson