# scrubby2

> A simple CSV scrubber.

Latest version **0.0.2** (published 2016-08-05) · 0 weekly downloads

## Install

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

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; low quality score; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.2 |
| Published | 2016-08-05 |
| First published | 2016-08-04 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Maintainers | john.stein |

## Links

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

## Dependencies (3)

- [csv-parse](https://npm.io/package/csv-parse.md) 1.1.3
- [csv-stringify](https://npm.io/package/csv-stringify.md) 1.0.4
- [stream-transform](https://npm.io/package/stream-transform.md) 0.1.1

## Recent versions

- 0.0.2 (latest) — 2016-08-05
- 0.0.1 — 2016-08-04

## README

# Scrubby

A simple CSV scrubber.

* Read CSV from a file or STDIN
* Write to STDOUT and/or one or more output files
* Add, remove, and transform rows
* Group rows by one or more columns for post processing as a group
* Check for duplicate output rows (by groupings)

## Examples

**simple.js** simple example that just merges some columns and gets rid of a
row we don't want. Reads from STDIN and writes to STDOUT.

```
examples/simple.js < examples/simple.csv > out/simple.csv
```

We can also read from a file if you like that better.

```
examples/simple.js examples/simple.csv > out/simple.csv
```

**attr.js** is a fairly complex example modified from a real world use case.
Writes to multiple output files specified in attr.js code.

```
examples/attr.js < examples/attr.csv
```

[TODO] Lookup examples

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