Skip to content

Commit dbfb751

Browse files
committed
Tweak API docs
1 parent d97b52f commit dbfb751

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,13 @@ npm install colorette
5858

5959
## API
6060

61-
### `blue(text)`
61+
### `blue()`, ...
6262

6363
> See all [supported colors](#supported-colors).
6464
6565
```js
66+
import { blue } from "colorette"
67+
6668
blue("I'm blue") //=> \x1b[34mI'm blue\x1b[39m
6769
```
6870

0 commit comments

Comments
 (0)