# cmdclean

> A build tool that converts CMD code to standard JavaScript.

Latest version **0.2.11** (published 2015-01-27) · MIT license · 0 weekly downloads

## Install

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

## 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.11 |
| Published | 2015-01-27 |
| First published | 2014-08-20 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 6 |
| Known vulnerabilities | 0 (+5 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 4 |
| Author | chencheng |
| Maintainers | sorrycc |

## Links

- npm: https://www.npmjs.com/package/cmdclean
- Repository: https://github.com/sorrycc/cmdclean
- Issues: https://github.com/sorrycc/cmdclean/issues
- npm.io page: https://npm.io/package/cmdclean

## Dependencies (6)

- [lodash](https://npm.io/package/lodash.md) ~2.4.1
- [esprima](https://npm.io/package/esprima.md) ~1.2.2
- [commander](https://npm.io/package/commander.md) ~2.1.0
- [escodegen](https://npm.io/package/escodegen.md) ~1.3.3
- [estraverse](https://npm.io/package/estraverse.md) ~1.5.1
- [searequire](https://npm.io/package/searequire.md) ~1.5.2

## Recent versions

- 0.2.11 (latest) — 2015-01-27
- 0.2.10 — 2015-01-21
- 0.2.9 — 2014-12-23
- 0.2.8 — 2014-12-11
- 0.2.7 — 2014-12-01
- 0.2.6 — 2014-10-14
- 0.2.5 — 2014-10-13
- 0.2.4 — 2014-10-09
- 0.2.3 — 2014-09-01
- 0.2.2 — 2014-08-30
- 0.2.1 — 2014-08-25
- 0.2.0 — 2014-08-25
- 0.1.0 — 2014-08-20

## README

# cmdclean

[![NPM version](https://img.shields.io/npm/v/cmdclean.svg?style=flat)](https://npmjs.org/package/cmdclean)
[![Build Status](https://img.shields.io/travis/sorrycc/cmdclean.svg?style=flat)](https://travis-ci.org/sorrycc/cmdclean)
[![Coverage Status](https://img.shields.io/coveralls/sorrycc/cmdclean.svg?style=flat)](https://coveralls.io/r/sorrycc/cmdclean)
[![NPM downloads](http://img.shields.io/npm/dm/cmdclean.svg?style=flat)](https://npmjs.org/package/cmdclean)

A build tool that converts CMD code to standard JavaScript.

---

## Install

```bash
$ npm install cmdclean
```

## Usage

```bash
var cmdclean = require('cmdclean');
cmdclean(code, opts);
```

## Options

### umd

Add umd wrapper, the value of umd will be assigned to window with the entry module.

## Thanks to

* [amdclean](https://github.com/gfranko/amdclean)
* [kclean](https://github.com/kissyteam/kclean)

## LISENCE

Copyright (c) 2014 sorrycc. Licensed under the MIT license.

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