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

console-dot-trace

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

console-dot-trace

console.trace for NodeJS

  • 1.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

node-console-dot-trace

Downloads Version ISC License

A polyfill for the console.trace function you may be used to in the browser.

Install

npm install --save-dev console-dot-trace

Usage

All you have to do is require the module and execute it. It will make console.trace available in your application.

require('console-dot-trace')();

Use anywhere in your application as:

console.trace();

You can also name stack traces:

console.trace('descriptive stack name');

Prefer not to modify the native console object?

var trace = require('console-dot-trace').trace;
trace('descriptive stack name');

More info

For more information on using console.trace, see the Console API in the Chrome Developer Reference.

If you need more advances or programmatic stack parsing, see node-stack-trace.

License

ISC

Keywords

FAQs

Package last updated on 26 Mar 2016

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