🚀 Big News:Socket Has Acquired Secure Annex.Learn More →
Socket
Book a DemoSign in
Socket

debug-deluxe

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

debug-deluxe

A drop-in replacement for debug that adds the remaining console methods

latest
Source
npmnpm
Version
2.0.2
Version published
Maintainers
1
Created
Source

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()

FAQs

Package last updated on 17 Jul 2019

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