JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 51
  • Score
    100M100P100Q60520F
  • License MIT

Faster debugging with color logs

Package Exports

  • brush-log

Readme

brush-log

Faster debugging with color logs

Install

npm i brush-log

Usage

Works in browser consoles that support %c styling.

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

License

MIT