0.0.1 • Published 3 years ago

@kerimhudson/broadcast v0.0.1

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

Broadcast

A lightweight logging utility for node. Uses the console info, warn, and error methods, and is a lightweight wrapper around it.

Comes with the kleur methods built in (under the style key) to allow you to easily style your console messages for easier debugging and visibility.

Usage

import broadcaster from '@kerimhudson/broadcast'


const broadcast = broadcaster()
broadcast.info('This is a console.log!');
broadcast.warn(broadcast.style.bold('MAKE IT BOLD!'));

Inspired by console-log-level.