Skip to content
This repository has been archived by the owner on Apr 3, 2024. It is now read-only.

Latest commit

 

History

History
25 lines (19 loc) · 406 Bytes

README.md

File metadata and controls

25 lines (19 loc) · 406 Bytes

node-etl

ETL pipeline and utilities for Node.

Installation

npm install @scribelabsai/etl

Usage

const pipeline = new ETL()
  .extract(fromCSV('input.csv'))
  .transform(
    toJSON(),
    fanout([
      toConsole(),
      toFile('output.txt')
    ])
  )
  .load(toFile('secondOutput.txt')); // Redundant to show case the syntax

pipeline.start();
await pipeline.finished();