2.0.0 • Published 7 months ago
@f0c1s/color-green v2.0.0
@f0c1s/color-green
A node/npm library that changes text color to green.
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-greenimport green from "@f0c1s/color-green";
// const {default: green} from "@f0c1s/color-green";
console.log(green("This text is green"));development
npm run build
node> const {default: green} = await import("./dist/index.js")
> green("what")
'\x1B[32mwhat\x1B[0m'
> console.log(green("what"))
whatLicense
MIT License
Copyright (c) 2019-2025 Anubhav Saini