Easily use 4 bit ANSI colors in your HTML or terminal
Well, because I can. And as lovely as Chalk is, it's a bit over-engineered for use with Next.js and gives me more errors than it was worth.
- Use with TypeScript or JavaScript.
- NextJS safe.
- Super simple. It's literally tiny.
npm import micro-ansi
ansi.color("Text goes here")
Normal Color | Bright Color |
---|---|
black |
brightBlack |
red |
brightRed |
green |
brightGreen |
yellow |
brightYellow |
blue |
brightBlue |
magenta |
brightMagenta |
cyan |
brightCyan |
white |
brightWhite |