
Security News
CVE Volume Surges Past 48,000 in 2025 as WordPress Plugin Ecosystem Drives Growth
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.
@open-tech-world/es-cli-styles
Advanced tools
Add CLI styles to text.
✔️ 24-Bit Colors (True Color)
✔️ Nested Styles
✔️ Foreground Colors
✔️ Background Colors
✔️ Bold
✔️ Dim
✔️ Italic
✔️ Underline
✔️ Inverse
✔️ Strikethrough
Using npm
npm install @open-tech-world/es-cli-styles
Using Yarn
yarn add @open-tech-world/es-cli-styles
import { style } from '@open-tech-world/es-cli-styles';
style('~styleName[.styleName...]{Text}');
Using foreground color name
console.log(style('I like 🍊 ~orange{oranges}'))

Using multiple colors
console.log(style('An ~red{apple} is red but the ~green{leaves} are green, came in a blue ~blue{box}'))

Nested colors
console.log(style('~blue{This is a long blue text with some ~red{red} & ~green{green} color in it}'))

Composing different styles
console.log(style('~bold.white.bgGreen{ PASS }'))

Inverse colors
console.log(style('~inverse.red.bgWhite{ FAILED }'))

Faint, decreased intensity, or dim text
console.log(style('~dim{TEXT}'))

Italic fonts
console.log(style('~italic.fuchsia.bold.bgWhite{ Beautiful Text }'))

Underlined texts
console.log(style('Highlighted fruits: ~underline{Apple}, cat, ~underline{Banana}'))

Strikethrough text
console.log(style('~strike.red{Deleted file.ext}'))

Custom functions
function warning(str) {
return style(`⚠️ ~bold.black.bgYellow{${str}}`);
}
console.log(warning(' CAUTION '))

rgb(red, green, blue)
bgRgb(red, green, blue)
https://en.wikipedia.org/wiki/ANSI_escape_code
Copyright (c) 2021, Thanga Ganapathy (MIT License).
FAQs
Add CLI styles to text.
We found that @open-tech-world/es-cli-styles demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.

Security News
Socket CEO Feross Aboukhadijeh joins Insecure Agents to discuss CVE remediation and why supply chain attacks require a different security approach.

Security News
Tailwind Labs laid off 75% of its engineering team after revenue dropped 80%, as LLMs redirect traffic away from documentation where developers discover paid products.