Merge pull request #84 from kahwee/patch-1

Changed chalk to colors in example
This commit is contained in:
Marak 2014-10-02 20:42:37 +02:00
commit c37d45ddfe

View File

@ -102,7 +102,7 @@ node myapp.js --no-color
```js
var name = 'Marak';
console.log(chalk.green('Hello %s'), name);
console.log(colors.green('Hello %s'), name);
// outputs -> 'Hello Marak'
```
@ -164,4 +164,4 @@ console.log(colors.error("this is an error"));
console.log(colors.warn("this is a warning"));
```
*Protip: There is a secret undocumented style in `colors`. If you find the style you can summon him.*
*Protip: There is a secret undocumented style in `colors`. If you find the style you can summon him.*