Marak / colors.js

get colors in your node.js console
https://github.com/Marak/colors.js
Other
5.17k stars 446 forks source link

README NEEDS AN UPDATE! #146

Closed amandeepmittal closed 8 years ago

amandeepmittal commented 8 years ago

The ""%s"" used in the code line below console.log(colors.green('Hello %s'), name);

prints the "%s" too: The Output: Hello %s Marak

I think you should update the documentation by removing the %s and since the 'name' is there, it will output the value of the variable 'name' accordingly.

marti1125 commented 8 years ago

@amandeepmittal is not necessary to update README.md because the example is ok more info util.format https://nodejs.org/api/util.html#util_util_format_format

amandeepmittal commented 8 years ago

@marti1125 it works fine now but at that time, it did not.