This package has been deprecated

Author message:

outdated

@fle/dyelog

0.0.2 • Public • Published

dyelog

version

Stdout colorful log in terminal.

Tips: It's a pure package without install others.

Installation

npm install @fle/dyelog

Usage

const dyelog = require('@fle/dyelog');

// color
dyelog.green('green');
dyelog.help('help');

// style
dyelog.bold('bold');

// background
dyelog.bgRed('background red');

// mixed
dyelog.red.bgWhite.bold('red bgGreen bold');

API

color

  • gray
  • black
  • white
  • green
  • yellow
  • blue
  • red
  • cyan
  • magenta

style

  • bold
  • inverse
  • underline
  • italic (not work at mac)
  • strikethrough (not work at mac)

background

  • bgBlack
  • bgWhite
  • bgGreen
  • bgYellow
  • bgBlue
  • bgRed
  • bgCyan
  • bgMagenta

Readme

Keywords

Package Sidebar

Install

npm i @fle/dyelog

Weekly Downloads

0

Version

0.0.2

License

ISC

Unpacked Size

5.03 kB

Total Files

6

Last publish

Collaborators

  • ansenhuang