mirror of
https://github.com/flynx/colors.js.git
synced 2025-10-29 11:00:11 +00:00
[dist] Release v1.0.0
This commit is contained in:
parent
936cf564be
commit
3968ec6364
@ -98,6 +98,12 @@ To disable colors you can pass the following arguments in the command line to yo
|
|||||||
node myapp.js --no-color
|
node myapp.js --no-color
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Console.log [string substitution](http://nodejs.org/docs/latest/api/console.html#console_console_log_data)
|
||||||
|
|
||||||
|
var name = 'Marak';
|
||||||
|
console.log(chalk.green('Hello %s'), name);
|
||||||
|
// outputs -> 'Hello Marak'
|
||||||
|
|
||||||
## Custom themes
|
## Custom themes
|
||||||
|
|
||||||
### Using standard API
|
### Using standard API
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user