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

babel-increase-console

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-increase-console

Plugin for increasing console log

  • 1.1.3
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Babel Increase Console

Plugin for increasing console log

Installation

Install the plugin with:

npm i babel-increase-console -D

Then add the plugin to babel config:

{
  "plugins": ["babel-increase-console"]
}

Usages

console.log(a) // output: console.log("a=", a);

console.log(this.some) // output: console.log("this.some=", this.some);

console.log(obj.some) // output: console.log("obj.some=", obj.some);

it does not convert literal parameters

console.log(false) // output: console.log(false);

console.log(1) // output: console.log(1);

console.log({ foo: "bar" }) // output: console.log({ foo: 'bar' });

FAQs

Package last updated on 25 Feb 2021

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