2.0.0 • Published 6 months ago

@f0c1s/color-magenta v2.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
6 months ago

@f0c1s/color-magenta

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

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-magenta
import magenta from "@f0c1s/color-magenta";
// const {default: magenta} from "@f0c1s/color-magenta";

console.log(magenta("This text is magenta"));

development

npm run build

node
> const {default: magenta} = await import("./dist/index.js")
> magenta("what")
'\x1B[35mwhat\x1B[0m'
> console.log(magenta("what"))
what

License

MIT License

Copyright (c) 2019-2025 Anubhav Saini