@marvinh/minichalk
v1.0.1
Published
Minimal alternative to chalk
Downloads
20
Readme
minichalk
Minimal and tree-shake-able alternative to chalk for coloring cli output.
Installation
# npm
npm install --dev @marvinh/minichalk
# yarn
yarn add -D @marvinh/minichalk
Usage
import { red } from "@marvinh/minichalk";
console.log(red("Hello World"));
// logs (colorized in red on terminals that do support colors):
// -> "Hello World"
License
MIT
, see LICENSE file.