1
0
mirror of https://github.com/garraflavatra/trmclr.git synced 2025-01-18 03:07:57 +00:00

Update readme once again

This commit is contained in:
Romein van Buren 2024-08-09 13:37:40 +02:00
parent 0ffd766e3d
commit 464bdc8e19
No known key found for this signature in database

View File

@ -1,11 +1,12 @@
# trmclr
- Easy terminal colors, ported from the Deno standard library.
Easy terminal colors, ported from the Deno standard library.
- Supports Node.js, browsers, Deno, and probably some other environments.
- Comes with 45 colors and helpers.
- Respects [`NO_COLOR`](http://no-color.org/).
- No dependencies.
- Allows for tree-shaking.
- Tree-shakeable.
## Colors and helpers
@ -14,7 +15,7 @@ bgBlack, bgBlue, bgBrightBlack, bgBrightBlue, bgBrightCyan, bgBrightGreen, bgBri
## Usage
```js
import { cyan, bgMagenta } from 'trmcrl';
import { cyan, bgMagenta } from 'trmclr';
console.log(cyan(bgMagenta('Some text')));
```