terminal-color
TypeScript icon, indicating that this package has built-in type declarations

0.2.0 • Public • Published

Installation

yarn install terminal-color

or

npm install terminal-color

const { color } = require('terminal-color');
color.fg.red('Hello World');

public members

bg effects background of text

fg effects foreground of text

colors

applies to both background and foreground

black

yellow

white

cyan

blue

purple

red

green

cyan

examples full type defs

Readme

Keywords

none

Package Sidebar

Install

npm i terminal-color

Weekly Downloads

3

Version

0.2.0

License

ISC

Unpacked Size

10.9 kB

Total Files

9

Last publish

Collaborators

  • abschill