@f0c1s/color-red
TypeScript icon, indicating that this package has built-in type declarations

2.0.0 • Public • Published

@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-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

Package Sidebar

Install

npm i @f0c1s/color-red

Weekly Downloads

22

Version

2.0.0

License

MIT

Unpacked Size

18.2 kB

Total Files

8

Last publish

Collaborators

  • sainianubhav
  • iamanubhavsaini