fluent-for-dynamodb
TypeScript icon, indicating that this package has built-in type declarations

0.1.4 • Public • Published

Fluent

Fluent is a wrapper around the AWS DynamoDB SDK for node. Fluent'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 fluent-for-dynamodb
import Fluent from 'fluent-for-dynamodb';
const f = new Fluent(config);

f.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

First you will want to follow this guide by AWS to install a local instance of DynamoDb. You will want it for development. It also provides an interactive shell that is great for learning Dynamo.

Alternatively, you could run a 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

Readme

Keywords

none

Package Sidebar

Install

npm i fluent-for-dynamodb

Weekly Downloads

0

Version

0.1.4

License

BSD

Last publish

Collaborators

  • trevorhanus