Skip to content

Commit e5c3580

Browse files
committed
feat: add version notes
1 parent b3681ec commit e5c3580

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

apps/site/pages/en/blog/migrations/chalk-to-styletext.mdx

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,15 @@ This codemod aims to help you reduce external dependencies by transforming chalk
2828
- Template literal syntax (chalk...``)
2929
- Advanced modifiers with limited terminal support (overline, blink, etc.)
3030

31+
### Prerequisites:
32+
33+
#### Node.js Version Requirements
34+
35+
- Node.js v20.12.0 or later (for util.styleText)
36+
- `util.styleText` became stable in Node.js v22.13.0 (and v23.5.0)
37+
38+
### Usage:
39+
3140
The source code for this codemod can be found in the [chalk-to-util-styletext directory](https://github.com/nodejs/userland-migrations/tree/main/recipes/chalk-to-util-styletext).
3241

3342
You can find this codemod in the [Codemod Registry](https://app.codemod.com/registry/@nodejs/chalk-to-util-styletext).

0 commit comments

Comments
 (0)