Fix usage example in the readme (#251)

This commit is contained in:
Aman Pratap Singh 2018-02-11 14:33:50 +05:30 committed by Sindre Sorhus
parent 6554030550
commit 011dd0421e

View file

@ -51,7 +51,7 @@ const chalk = require('chalk');
const log = console.log;
// Combine styled and normal strings
log(chalk.blue('Hello') + 'World' + chalk.red('!'));
log(chalk.blue('Hello') + ' World' + chalk.red('!'));
// Compose multiple styles using the chainable API
log(chalk.blue.bgRed.bold('Hello world!'));