# dirty-compact

> Compact a node-dirty database.

Latest version **0.0.2** (published 2014-07-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install dirty-compact
pnpm add dirty-compact
yarn add dirty-compact
bun add dirty-compact
```

## 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.2 |
| Published | 2014-07-07 |
| First published | 2013-08-10 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Beau Gunderson |
| Maintainers | beaugunderson |
| Keywords | dirty, compact |

## Links

- npm: https://www.npmjs.com/package/dirty-compact
- Repository: https://github.com/beaugunderson/node-dirty-compact
- Issues: https://github.com/beaugunderson/node-dirty-compact/issues
- npm.io page: https://npm.io/package/dirty-compact

## Dependencies (4)

- [async](https://npm.io/package/async.md) ~0.2.9
- [dirty](https://npm.io/package/dirty.md) ~0.9.7
- [fs.extra](https://npm.io/package/fs.extra.md) ~1.2.1
- [commander](https://npm.io/package/commander.md) ~2.0.0

## Recent versions

- 0.0.2 (latest) — 2014-07-07
- 0.0.1 — 2013-08-10

## README

## dirty-compact

Compact a [node-dirty](https://github.com/felixge/node-dirty) database.

### Example

```js
var compact = require('dirty-compact').compact;

compact('./database.db', './database.db.bak', function (err) {
  if (err) {
    throw err;
  }

  console.log('Success!');
});

```

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