1.0.7 • Published 3 years ago

beauty-console-log v1.0.7

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

beauty-log

Customize your console log!

Installation

npm i beauty-console-log

use

// import by object
import beautyLog from 'beauty-console-log';

beautyLog.red('test text color!')

beautyLog.bgRed('test background color!')

beautyLog.info(logData)

beautyLog.success(logData)

beautyLog.warning(logData)

beautyLog.error(logData)



// import by function
import { red, bgRed, success } from 'beauty-console-log';

red('test text color!')

text color

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

background color

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

text style

  • bold

icon log

  • info
  • success
  • warning
  • error
1.0.7

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago