# @overfuse/babel-plugin-console-prefix

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

Latest version **0.2.1** (published 2020-03-02) · ISC license · 0 weekly downloads

## Install

```sh
npm install @overfuse/babel-plugin-console-prefix
pnpm add @overfuse/babel-plugin-console-prefix
yarn add @overfuse/babel-plugin-console-prefix
bun add @overfuse/babel-plugin-console-prefix
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.2.1 |
| Published | 2020-03-02 |
| First published | 2020-03-02 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | overfuse |

## Links

- npm: https://www.npmjs.com/package/@overfuse/babel-plugin-console-prefix
- Repository: https://github.com/overfuse/babel-plugin-console-prefix
- npm.io page: https://npm.io/package/@overfuse/babel-plugin-console-prefix

## Recent versions

- 0.2.1 (latest) — 2020-03-02
- 0.2.0 — 2020-03-02

## README

# @overfuse/babel-plugin-console-prefix

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

## Install 

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

## Usage

Via `.babelrc`

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


## Example transpilation

```js
// input
console.log(n);

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

---
_Source: https://npm.io/package/@overfuse/babel-plugin-console-prefix · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
