Socket
Book a DemoInstallSign in
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
npmnpm
Version published
Maintainers
1
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

console

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.