Socket
Socket
Sign inDemoInstall

debug-app

Package Overview
Dependencies
3
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    debug-app

debug module with a default namespace consisting of the application name and current filename.


Version published
Weekly downloads
9
increased by28.57%
Maintainers
1
Install size
62.5 kB
Created
Weekly downloads
 

Readme

Source

debug-app

debug with a default namespace consisting of the <application name>:<current filename>.

Example

Instead of doing:

var debug = require('debug')('myApp:file');

..use debug-app instead:

var debug = require('debug-app')();

The result is identical, but you won't have to type the app name and the filename over and over again. This is also future-proof in case your app name / filename change.

License

MIT

Keywords

FAQs

Last updated on 03 Jun 2015

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc