New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@overfuse/babel-plugin-console-prefix

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@overfuse/babel-plugin-console-prefix

Babel plugin which adds a prefix to `console.log` argument.

latest
Source
npmnpm
Version
0.2.1
Version published
Maintainers
1
Created
Source

@overfuse/babel-plugin-console-prefix

Babel plugin which adds a prefix to console.log argument.

Install

yarn add @overfuse/babel-plugin-console-prefix

Usage

Via .babelrc

{
  "plugins": [
    ["@overfuse/babel-plugin-console-prefix", { "prefix": "Bonify rocks" }]
  ]
}

Example transpilation

// input
console.log(n);

// output
console.log("Bonify rocks" + n);

FAQs

Package last updated on 02 Mar 2020

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