x-chalk

simple colored terminal output - wrapper around `chalk`

Usage no npm install needed!

<script type="module">
  import xChalk from 'https://cdn.skypack.dev/x-chalk';
</script>

README

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!}`);