2.0.0 • Published 8 months ago
@f0c1s/color-red v2.0.0
@f0c1s/color-red
A node/npm library that changes text color to red.
Related projects
| Name | NPM package | GitHub repo |
|---|---|---|
| color-black | npm | github |
| color-blue | npm | github |
| color-cyan | npm | github |
| color-green | npm | github |
| color-magenta | npm | github |
| color-red | npm | github |
| color-white | npm | github |
| color-yellow | npm | github |
| random-colored-string | npm | github |
installation and usage
npm install @f0c1s/color-redimport red from "@f0c1s/color-red";
// const {default: red} from "@f0c1s/color-red";
console.log(red("This text is red"));development
npm run build
node> const {default: red} = await import("./dist/index.js")
> red("what")
'\x1B[31mwhat\x1B[0m'
> console.log(red("what"))
whatLicense
MIT License
Copyright (c) 2019-2025 Anubhav Saini