2.4.1 • Published 2 years ago

brush-log v2.4.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

brush-log

Bring some color to the console!

NPM version

Install

npm install brush-log --save

Usage

import brush from 'brush-log'

console.log(...brush.black('Hello', { a: 1 }))

Or

import { black } from 'brush-log'

console.log(...black('Hello', { a: 1 }))

Supported colors

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

Options

import { mergeConfig } from 'brush-log'

mergeConfig({
  radial: 0,
})

radial

Type: number Default: 100

Starting percentage of a radial gradient, ranging from 0 to 100. The smaller the value, the lighter the color.

fontSize

Type: string Default: inherit

The font size of the output.

2.3.0

2 years ago

2.2.1

2 years ago

2.1.2

2 years ago

2.2.0

2 years ago

2.1.1

2 years ago

2.4.1

2 years ago

2.4.0

2 years ago

2.3.1

2 years ago

2.3.3

2 years ago

2.1.0

2 years ago

2.0.0

2 years ago

1.1.5

2 years ago

1.1.4

2 years ago

1.1.3

2 years ago

1.1.2

2 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago

0.0.9

3 years ago

0.0.8

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago