From 7f60a8cfad624a81307e3b4b6436f9a7b010ab56 Mon Sep 17 00:00:00 2001 From: Sindre Sorhus Date: Fri, 28 Dec 2018 12:27:47 +0100 Subject: [PATCH] Update readme.md --- readme.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/readme.md b/readme.md index 25a1577..52fcca5 100644 --- a/readme.md +++ b/readme.md @@ -62,8 +62,6 @@ console.log(chalk.blue('Hello world!')); Chalk comes with an easy to use composable API where you just chain and nest the styles you want. -For output to **stderr** (like `console.error`) use `require('chalk/stderr')`. - ```js const chalk = require('chalk'); const log = console.log; @@ -178,7 +176,7 @@ Explicit 256/Truecolor mode can be enabled using the `--color=256` and `--color= ## Output to `stderr` -Output intended for `stderr` should use `require('chalk/stderr')` instead of `require('chalk')`. It has an identical API, but correctly detects color support for the `stderr` stream. +Output intended for [`stderr`](https://nodejs.org/api/process.html#process_process_stderr) (e.g. `console.error()`) should use `require('chalk/stderr')` instead of `require('chalk')`. It has an identical API, but correctly detects color support for the `stderr` stream. ## Styles