# copro

> tools for working with MySQL dumps

Latest version **0.0.1** (published 2017-06-28) · MIT license · 0 weekly downloads

## Install

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

Provides the command `ddlt`.

## 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.0.1 |
| Published | 2017-06-28 |
| First published | 2017-06-28 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Richard Remer |
| Maintainers | rremer |

## Links

- npm: https://www.npmjs.com/package/copro
- Repository: https://github.com/Zingle/copro
- Homepage: https://github.com/Zingle/copro#readme
- Issues: https://github.com/Zingle/copro/issues
- npm.io page: https://npm.io/package/copro

## Recent versions

- 0.0.1 (latest) — 2017-06-28

## README

copro MySQL DB dump tools
=========================

Install
-------
```sh
sudo -H npm install -g copro
```

Tools
-----

### ddlt - DDL transformer

Transform MySQL DDL from STDIN.

#### Examples

##### filter a schema

```sh
# filter out DDL for `foo-data` schema
cat dump.sql | ddlt --schema foo-data --skip
```

##### filter a relation

```sh
# filter out DDL for `foo-data.foo` relation
cat dump.sql | ddlt --schema foo-data --relation foo --skip
```

##### multiple filters

```sh
# filter out DDL for `foo` schema and `bar.baz` relation
cat dump.sql | ddlt --schema foo --skip --schema bar --relation baz --skip
```

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