mirror of
https://github.com/garraflavatra/trmclr.git
synced 2025-01-18 11:07:57 +00:00
Update readme once again
This commit is contained in:
parent
0ffd766e3d
commit
464bdc8e19
@ -1,11 +1,12 @@
|
|||||||
# trmclr
|
# 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.
|
- Supports Node.js, browsers, Deno, and probably some other environments.
|
||||||
- Comes with 45 colors and helpers.
|
- Comes with 45 colors and helpers.
|
||||||
- Respects [`NO_COLOR`](http://no-color.org/).
|
- Respects [`NO_COLOR`](http://no-color.org/).
|
||||||
- No dependencies.
|
- No dependencies.
|
||||||
- Allows for tree-shaking.
|
- Tree-shakeable.
|
||||||
|
|
||||||
## Colors and helpers
|
## Colors and helpers
|
||||||
|
|
||||||
@ -14,7 +15,7 @@ bgBlack, bgBlue, bgBrightBlack, bgBrightBlue, bgBrightCyan, bgBrightGreen, bgBri
|
|||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
```js
|
```js
|
||||||
import { cyan, bgMagenta } from 'trmcrl';
|
import { cyan, bgMagenta } from 'trmclr';
|
||||||
|
|
||||||
console.log(cyan(bgMagenta('Some text')));
|
console.log(cyan(bgMagenta('Some text')));
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user