Typo in readme.md
This commit is contained in:
parent
4988e0808f
commit
63b9d4c8fe
1 changed files with 1 additions and 1 deletions
|
|
@ -85,7 +85,7 @@ You can also render colored text using an HTML-like string with tags.
|
|||
|
||||
```js
|
||||
var chalk = require('chalk');
|
||||
console.log(chalk.text('<red>Error!</red>'));
|
||||
console.log(chalk.colorize('<red>Error!</red>'));
|
||||
```
|
||||
|
||||
## API
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue