debug-deluxe
v2.0.2
Published
A drop-in replacement for debug that adds the remaining console methods
Downloads
6
Readme
Debug Deluxe
This is a drop-in replacement for the excellent debug
module. It extends that module so that other
console methods can be applied (in addition to log
), using the same filters.
The following methods are added:
assert
clear
count
group
groupCollapsed
groupEnd
table
time
timeEnd
Usage
import { debug } from 'debug-deluxe'
const log = debug('example:demo')
log.group('window methods')
for (const k in window) {
log(k)
}
log.groupEnd()