# babel-plugin-operate-console

> a babel-plugin for oprtation console

Latest version **1.0.0** (published 2020-06-28) · ISC license · 0 weekly downloads

## Install

```sh
npm install babel-plugin-operate-console
pnpm add babel-plugin-operate-console
yarn add babel-plugin-operate-console
bun add babel-plugin-operate-console
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2020-06-28 |
| First published | 2020-06-28 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | qingyi |
| Maintainers | ux_qingyi |
| Keywords | babel, plugin, console, remove, comment |

## Links

- npm: https://www.npmjs.com/package/babel-plugin-operate-console
- Repository: https://github.com/zhangtengjin/babel-plugin-operate-console
- Homepage: https://github.com/zhangtengjin/babel-plugin-operate-console#readme
- Issues: https://github.com/zhangtengjin/babel-plugin-operate-console/issues
- npm.io page: https://npm.io/package/babel-plugin-operate-console

## Alternatives

- [@openai/codex-sdk](https://npm.io/package/@openai/codex-sdk.md) — 731.4K weekly downloads
- [babel-plugin-transform-react-jsx](https://npm.io/package/babel-plugin-transform-react-jsx.md) — 565.0K weekly downloads
- [babel-helper-remove-or-void](https://npm.io/package/babel-helper-remove-or-void.md) — 508.5K weekly downloads
- [@pnpm/store-controller-types](https://npm.io/package/@pnpm/store-controller-types.md) — 186.9K weekly downloads
- [react-native-signature-canvas](https://npm.io/package/react-native-signature-canvas.md) — 155.6K weekly downloads

## Recent versions

- 1.0.0 (latest) — 2020-06-28

## README

# babel-plugin-operate-console

## Example 
```
let name = 'zhangsan';
console.log('test1');
console.log('test2');

↓ ↓ ↓ ↓ ↓ ↓

<!-- comment -->
let name = 'zhangsan';
// console.log('test1');
// console.log('test2');

or
<!-- remove -->
let name = 'zhangsan';

```

## Usage

```
npm install babel-plugin-operate-console -D
```

Via .babelrc or babel-loader.
+ comment
```
{
    "plugins": [
        "operate-console",
        {
            "types": ['comment']
        }
    ]
}
```

+ remove
```
{
    "plugins": [
        "operate-console",
        {
            "types": ['remove']
        }
    ]
}
```

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