diff --git a/ReadMe.md b/ReadMe.md index e537edf..ea33503 100644 --- a/ReadMe.md +++ b/ReadMe.md @@ -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.* \ No newline at end of file +*Protip: There is a secret undocumented style in `colors`. If you find the style you can summon him.*