dat-elife

0.1.1 • Public • Published

dat-elife

Usage

export AWS_ACCESS_KEY_ID=AKIAITJZXXXXXXXXXXXX
export AWS_SECRET_ACCESS_KEY=9jp49DRRK2xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

npm install dat-elife -g

dat-elife # <optional number of parallel get> (e.g. dat-elife 30)
cd elife
dat listen

Relevant bits of code

This is mostly done in 5 lines of code (check index.js for everything).

aws.s3.ls('elife-cdn', 'elife-articles')
.pipe(tool.collectMatch('Key', 'xml'))
.pipe(aws.s3.get('elife-cdn'))
.pipe(xmlJSON('article'))
.pipe(db.createWriteStream())

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.1
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.1
    0
  • 0.1.0
    0
  • 0.0.0
    0

Package Sidebar

Install

npm i dat-elife

Weekly Downloads

0

Version

0.1.1

License

MIT

Last publish

Collaborators

  • bmpvieira