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 |
npm install @f0c1s/color-green
import green from "@f0c1s/color-green";
// const {default: green} from "@f0c1s/color-green";
console.log(green("This text is green"));
npm run build
node
> const {default: green} = await import("./dist/index.js")
> green("what")
'\x1B[32mwhat\x1B[0m'
> console.log(green("what"))
what
MIT License
Copyright (c) 2019-2025 Anubhav Saini