simple-console-colors
v1.1.1
Published
Add the default console colors to nodejs files
Downloads
2
Readme
K.I.S.S - Simple Console Colors is a stupid simple coloring package for you terminal in node. Gives color to
console.info
,console.warn
, andconsole.error
; without having to use new methods or a different logger other thanconsole
. Just require the package and use console as normal. Thats it.
🖼️ Screenshots
🛠️ Install
This is a Node.js module available through the npm registry. Installation is done using the npm install command:
$ npm i simple-console-colors
📑 Usage
Require the npm module and call it as a function. It takes an optional string
parameter where you may chose different styles.
require('simple-console-colors')(style);
The supported styles are:
- boxy
- minimal
- basic
- default
If no style is passed, default
is used.
🔬 Run tests
$ npm run test
👨🏻💻 Author
Jonathan Morales - [email protected]
- Github: @MoralesJonathan
🤝 Contributing
Contributions, issues and feature requests are welcome!Feel free to check Issues page and the Contributing Guide.
❤️ Show your support
Give a ⭐️ if this project helped you!
📝 License
Copyright © 2019 Jonathan Morales [email protected]. This project is MIT licensed.