diff --git a/doc/api/util.md b/doc/api/util.md index fafc54c3fadbfe..2fdd6df1382927 100644 --- a/doc/api/util.md +++ b/doc/api/util.md @@ -239,7 +239,47 @@ The `--throw-deprecation` command-line flag and `process.throwDeprecation` property take precedence over `--trace-deprecation` and `process.traceDeprecation`. -## `util.format(format[, ...args])` +## `util.colorize` + + +The `util.colorize` object provides functions that add ansi color codes to the +provided string. These may be used to style terminal output. + +### `util.colorize.