dynaflo
TypeScript icon, indicating that this package has built-in type declarations

0.6.0-alpha • Public • Published

Dynaflo

Dynaflo is a wrapper around the AWS DynamoDB SDK for node. Dynaflo's goal is to make it easier to work with the AWS SDK while staying true to the DynamoDB way of doing things. Wherever possible, it uses the termonology set forth in the AWS SDK.

Quick Start

$ npm install --save dynaflo
import Dynaflo from 'dynaflo';
const d = new Dynaflo(config);
 
d.table('Movies')
  .get({title: 'Fantastic Beasts'})
  .run()
  .then(movie => {
    console.log(movie.title); // Fantastic Beasts
  })
  .catch(err => {
    console.error(err);
  });

Deeper Dive

Read through the full documentation here.

Contributing

Running DynamoDB locally

Make sure you have docker installed and run the docker image...

$ docker run -p 7777:7777 trevorhanus/dynamodb-local

Testing

clone repo

$ git clone <clone url>

install dependencies

$ npm install

run tests

$ npm test

Todo

  • Get docs hosted on Gitlab
  • Verify query method has all modifiers it needs
  • Finish scan method
  • Finish BatchGet
  • Finish BatchWrite

Readme

Keywords

none

Package Sidebar

Install

npm i dynaflo

Weekly Downloads

0

Version

0.6.0-alpha

License

BSD

Unpacked Size

141 kB

Total Files

193

Last publish

Collaborators

  • trevorhanus