toder34 / node-simple-colors

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Simple Colors

This is a dead simple implementation for colored display when using console.log.

Getting Started

To use this package, import it and pass it your text and an array of styles. Check out the code for a list of the styles.

import color from 'simple-colors'

console.log(color('Hello, World!', ['bold', 'red', 'bgBlack']))

Installing

npm install node-simple-colors

About


Languages

Language:JavaScript 100.0%