0.0.1 • Published 8 years ago

data-jockey v0.0.1

Weekly downloads
6
License
ISC
Repository
github
Last release
8 years ago

Data Jockey WIP

npm install data-jockey --save

this is currently a work in progress

For shuffling data from one location to another

Goals

This is where the minimum viable featureset spec will go for now:

  • Adapter-Driven API

  • Transformers

  • RethinkDB adapter

  • PG adapter

  • S3 bucket adapter

  • MongoDB adapter

  • JSON API adapter

  • Filesystm adapter

Usage

import dj from "data-jockey"

dj
  .from( 
    dj.Mongodb()
      .collection("users")
  )
  .to( 
      dj.Rethinkdb()
        .table("users")
    , dj.S3()
        .bucket("users")
  )
  .transform( 
    dj.Translate
      .from('account.email').to('account.username')
      .from('some.other.key').to('new.key') 
  )
  .run()
  .then(onComplete)