Skip to content

marvinhagemeister/minichalk

Repository files navigation

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.

About

Tiny tree-shake-able alternative to chalk

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published