dynamo-flu

0.0.5 • Public • Published

dynamo-flu

Build Status

A fluent wrapper around DynamoDB which allows you to write code like

db.from('Users').get.with('userId').equalTo(userId).
ifEmpty(userDoesNotExist(next, userId)).
otherwise.pick('contexts').
defaultTo([]).
as('json').
then(function(contexts) {
  ...
});

to interact with your database in an obvious way.

TODO

  • add tests
  • use grunt to automatically run tests and jshint
  • docs
  • switch from aws-sdk to dynasty as it becomes ready

Readme

Keywords

none

Package Sidebar

Install

npm i dynamo-flu

Weekly Downloads

1

Version

0.0.5

License

MIT

Last publish

Collaborators

  • apechimp