◐ Shell
clean mode source ↗

doc: stabilize util.styleText · nodejs/node@72f79b4

Original file line numberDiff line numberDiff line change

@@ -1915,13 +1915,16 @@ console.log(util.stripVTControlCharacters('\u001B[4mvalue\u001B[0m'));

19151915
19161916

## `util.styleText(format, text[, options])`

19171917
1918-

> Stability: 1.1 - Active development

1918+

> Stability: 2 - Stable.

19191919
19201920

<!-- YAML

19211921

added:

19221922

- v21.7.0

19231923

- v20.12.0

19241924

changes:

1925+

- version: REPLACEME

1926+

pr-url: https://github.com/nodejs/node/pull/56265

1927+

description: styleText is now stable.

19251928

- version:

19261929

- v22.8.0

19271930

- v20.18.0