# proc-that

> proc(ess)-that - easy extendable etl tool for nodejs written in typesript

Latest version **2.0.0** (published 2022-12-20) · MIT license · 0 weekly downloads

## Install

```sh
npm install proc-that
pnpm add proc-that
yarn add proc-that
bun add proc-that
```

## Health

**Score 40/100 (D)** — status: abandoned.

Positive: has types; no vulnerabilities; high maintenance score; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 2.0.0 |
| Published | 2022-12-20 |
| First published | 2016-03-28 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Node | >=16 |
| Dependencies | 3 |
| Unpacked size | 18.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 39 |
| Author | Christoph Bühler |
| Maintainers | smartive-ci, mfeltscher, petermanser, cbuehler, dwirz, deniaz, nmaro |
| Keywords | etl, node, typescript |

## Links

- npm: https://www.npmjs.com/package/proc-that
- Repository: https://github.com/smartive/proc-that
- Homepage: https://github.com/smartive/proc-that#readme
- Issues: https://github.com/smartive/proc-that/issues
- npm.io page: https://npm.io/package/proc-that

## Dependencies (3)

- [rxjs](https://npm.io/package/rxjs.md) ^7.8.0
- [tslib](https://npm.io/package/tslib.md) ^2.4.1
- [@types/node](https://npm.io/package/@types/node.md) ^18.11.17

## Alternatives

- [@openai/codex-sdk](https://npm.io/package/@openai/codex-sdk.md) — 731.4K weekly downloads
- [babel-plugin-transform-react-jsx](https://npm.io/package/babel-plugin-transform-react-jsx.md) — 565.0K weekly downloads
- [babel-helper-remove-or-void](https://npm.io/package/babel-helper-remove-or-void.md) — 508.5K weekly downloads
- [@pnpm/store-controller-types](https://npm.io/package/@pnpm/store-controller-types.md) — 186.9K weekly downloads
- [react-native-signature-canvas](https://npm.io/package/react-native-signature-canvas.md) — 155.6K weekly downloads

## Recent versions

- 2.0.0 (latest) — 2022-12-20
- 1.0.2 — 2018-01-16
- 1.0.1 — 2017-11-06
- 1.0.0 — 2017-11-06
- 0.7.0 — 2017-07-27
- 0.6.1 — 2017-02-16
- 0.5.0 — 2016-12-07
- 0.4.0 — 2016-07-19
- 0.3.2 — 2016-04-28
- 0.3.1 — 2016-04-07
- 0.3.0 — 2016-04-07
- 0.2.5 — 2016-04-07
- 0.2.4 — 2016-04-07
- 0.2.3 — 2016-04-06
- 0.2.2 — 2016-04-06
- … 3 more at https://npm.io/package/proc-that/versions

## README

# proc-that

proc(ess)-that - easy extendable etl tool for nodejs written in typescript.

Basically instantiate the `Etl` class and add extractors (which pull data from a datasource), transformers (which process the extracted data) and loaders (they load the results into a sink).

A basic, hypothetic example could be: "Load data from a JSON array, snake_case all properties and store those objects into a mongoDB."

The package is written in `typescript` but can be used in plain javascript as well

##### A bunch of badges

[![Build Status](https://travis-ci.org/smartive/proc-that.svg?maxAge=3600)](https://travis-ci.org/smartive/proc-that)
[![Build Status](https://ci.appveyor.com/api/projects/status/wm7ydpf62e9518h8?svg=true)](https://ci.appveyor.com/project/buehler/proc-that)
[![npm](https://img.shields.io/npm/v/proc-that.svg?maxAge=3600)](https://www.npmjs.com/package/proc-that)
[![Coverage status](https://img.shields.io/coveralls/smartive/proc-that.svg?maxAge=3600)](https://coveralls.io/github/smartive/proc-that)
[![license](https://img.shields.io/github/license/smartive/proc-that.svg?maxAge=2592000)](https://github.com/smartive/proc-that)
[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)
[![Greenkeeper badge](https://badges.greenkeeper.io/smartive/proc-that.svg)](https://greenkeeper.io/)

## Usage

```typescript
import { Etl } from "proc-that";

new Etl()
  .addExtractor(/* class that implements Extractor */)
  .addTransformer(/* class that implements Transformer */)
  .addLoader(/* class that implements Loader */)
  .start()
  .subscribe(progress, error, success);
```

After all objects are extracted, transformed and loaded, the `.start()` observable completes and the process is finished.

Below is a list if extractors and loaders that are already implemented. Feel free to implement your own extractor / transformer / loader and contribute it to this list with a PR.

## Extractors

| Name                       | Description                       | Link                                                 |
| -------------------------- | --------------------------------- | ---------------------------------------------------- |
| `proc-that-rest-extractor` | Extract objects from GET requests | https://github.com/smartive/proc-that-rest-extractor |

## Loaders

| Name                       | Description                                 | Link                                                 |
| -------------------------- | ------------------------------------------- | ---------------------------------------------------- |
| `proc-that-elastic-loader` | Load transformed objects into elasticsearch | https://github.com/smartive/proc-that-elastic-loader |

## Implement your own

To ease up implementing your own extractors / transformers or loaders, just create a new repository and install `proc-that` as a dev-dependency. This package contains the needed definition files for the interfaces you need to create the extensions.

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