2.0.0 • Published 8 months ago

@f0c1s/color-red v2.0.0

Weekly downloads
2
License
MIT
Repository
github
Last release
8 months ago

@f0c1s/color-red

A node/npm library that changes text color to red.

Related projects

NameNPM packageGitHub repo
color-blacknpmgithub
color-bluenpmgithub
color-cyannpmgithub
color-greennpmgithub
color-magentanpmgithub
color-rednpmgithub
color-whitenpmgithub
color-yellownpmgithub
random-colored-stringnpmgithub

installation and usage

npm install @f0c1s/color-red
import 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"))
what

License

MIT License

Copyright (c) 2019-2025 Anubhav Saini