0.0.10 • Published 9 years ago

opensoars_cls v0.0.10

Weekly downloads
45
License
-
Repository
github
Last release
9 years ago

cls

Build Status Coverage Status Dependency Status Development Dependency Status

Colorized command line logging made easy.


Dependencies

  • None

Install

npm install opensoars_cls

API

cls(text, [color], [style])

Where text is the string or object to style, color is an optional color string and style is an optional style string or an array of style strings.

Example

var cls = require('opensoars_cls');

var styled_string = cls('Hello, world!', 'red', ['bold', 'underline']);

console.log(styled_string);

Options

  • 9 Colors
    • white
    • grey
    • black
    • blue
    • cyan
    • green
    • magenta
    • red
    • yellow
  • 5 Styles (if supported by your os its terminal)
    • bold
    • italic
    • underline
    • inverse
    • strikethrough
0.0.10

9 years ago

0.0.9

9 years ago

0.0.8

10 years ago

0.0.7

10 years ago

0.0.6

10 years ago

0.0.5

10 years ago

0.0.4

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago