# minted

> Detects console logs and removes them so they don't end up in your diff!

Latest version **1.0.5** (published 2022-02-02) · ISC license · 0 weekly downloads

## Install

```sh
npm install minted
pnpm add minted
yarn add minted
bun add minted
```

Provides the command `minted`.

## 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.5 |
| Published | 2022-02-02 |
| First published | 2022-01-30 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Unpacked size | 6.7 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Allen Tran |
| Maintainers | allentran |
| Keywords | node, module, console, log, consolelog |

## Links

- npm: https://www.npmjs.com/package/minted
- Repository: https://github.com/allen-tran/Minted
- Homepage: https://github.com/allen-tran/Minted#readme
- Issues: https://github.com/allen-tran/Minted/issues
- npm.io page: https://npm.io/package/minted

## Dependencies (4)

- [fs](https://npm.io/package/fs.md) ^0.0.1-security
- [path](https://npm.io/package/path.md) ^0.12.7
- [prompt](https://npm.io/package/prompt.md) ^1.2.1
- [readline](https://npm.io/package/readline.md) ^1.3.0

## Alternatives

- [cli-color](https://npm.io/package/cli-color.md) — 3.4M weekly downloads
- [log](https://npm.io/package/log.md) — 1.3M weekly downloads
- [logstash-client](https://npm.io/package/logstash-client.md) — 4.5K weekly downloads
- [@nocobase/plugin-logger](https://npm.io/package/@nocobase/plugin-logger.md) — 2.0K weekly downloads
- [child-process-debug](https://npm.io/package/child-process-debug.md) — 695 weekly downloads

## Recent versions

- 1.0.5 (latest) — 2022-02-02
- 1.0.4 — 2022-02-02
- 1.0.3 — 2022-01-31
- 1.0.2 — 2022-01-31
- 1.0.1 — 2022-01-31
- 1.0.0 — 2022-01-30

## README

# Minted! - `console.log()` Removal 🚮
*Minted is a command line tool that detects console logs and removes them for you! This will make sure they never end up in your diff again. Click [here](https://www.npmjs.com/package/minted) to see it on npm 📦*

## Installation ⬇️
```cmd
$ npm i minted --save
```

## Usage 🪄
```cmd
$ npm run mint
```

## Demo 🤹🏼‍♂️

#### Example code with console.logs
```js
// store input numbers
const prompt = require('prompt')
prompt.start()
prompt.get(['num1', 'num2'], function (err, result) {
    // console.log('Num1: ' + result.num1);
    // console.log('Num2: ' + result.num2);
    const sum = parseInt(result.num1) + parseInt(result.num2);
    if (sum) console.log(`The sum of ${result.num1} and ${result.num2} is ${sum}`);
  });
```
#### Example output from Minted
<img width="643" alt=" 2022-01-31 at 3 34 40 PM" src="https://user-images.githubusercontent.com/63386979/151890953-82f1a85c-a3bc-40aa-89d1-8eefea0792c4.png">

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