New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

consolestack

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

consolestack

Improve console functions with file and line number output

  • 1.0.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
24
increased by2300%
Maintainers
1
Weekly downloads
 
Created
Source

Installation

npm install consolestack

What does it do?

Console stack is a very simple library that appends a stacktrace line number to each console message for improved debugging. This becomes helpful for larger node.js applications.

How to use it

Simply require the library and the rest is done automatically.

    require('consolestack');

Changelog

1.0.2

  • Added console.err as a method to avoid stamp output for console.error/warn.

1.0.1

  • Added console.out as a method to avoid stamp output for console.log.
  • Stack trace now excludes CWD for logging

1.0.0

  • Release Version

Keywords

FAQs

Package last updated on 05 Mar 2015

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