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

autodebug

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

autodebug

like npm.im/debug with automatic module name branding

  • 3.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

autodebug

https://npm.im/debug but with automatic namespacing

Build Status

usage

var debug = require('autodebug')
debug('hello')

example

  autodebug:foo test +0ms
  autodebug:foo:bar test in another file +0ms

Based on the debug module you know and love, but it automatically fills in the package name and relative file path for you to reduce boilerplate.

api

Just require autodebug in each module you want to debug from and call it with things you want to debug

Just like the original debug module, you can control which modules' debug output is shown with the DEBUG environment variable.

See https://www.npmjs.com/package/debug#usage

installation

$ npm install autodebug

contributors

license

ISC. (c) MMXV jason@denizac.org. See LICENSE.md

Keywords

FAQs

Package last updated on 30 Mar 2017

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