Created
May 28, 2025 00:18
-
-
Save snoblenet/669a1b622c5e3724cff701d3439d6d2b to your computer and use it in GitHub Desktop.
built-in console text styling in NodeJS v20.6.0 and later
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
node -p "require('node:util').styleText(['bold', 'italic', 'red'], 'This is bold, italic, red text')" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment