1.0.1 • Published 6 years ago

@marvinh/minichalk v1.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
6 years ago

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.