Socket
Book a DemoInstallSign in
Socket

brush-log

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

brush-log

Bring some color to the console!

latest
Source
npmnpm
Version
2.4.1
Version published
Maintainers
1
Created
Source

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.

Keywords

log

FAQs

Package last updated on 26 Mar 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts