Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@kiwicom/debug

Package Overview
Dependencies
Maintainers
13
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kiwicom/debug

Small utility to mimic the functionality of the [debug](https://github.com/visionmedia/debug) npm module.

  • 1.10.1
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
14
increased by366.67%
Maintainers
13
Weekly downloads
 
Created
Source

@kiwicom/debug

Small utility to mimic the functionality of the debug npm module.

Usage

import { debug } from '@kiwicom/debug';

const log = debug('my-module:my-class');

log('Log this message and add some `monospaced` text');

To see the logs in your Developer Tools

localStorage.setItem('DEBUG', '*'); // show all messages (including the example above)

localStorage.setItem('DEBUG', 'my-module:*'); // show all messages from `my-module` (including the example above)

localStorage.setItem('DEBUG', 'my-module:my-class'); // show messages only from `my-module:my-class` (including the example above)

Screenshot

screenshot of @kiwicom/debug in action

FAQs

Package last updated on 19 Feb 2021

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc