Skip to content

A Promisified DynamoDB Document Client , with some useful helpers

Notifications You must be signed in to change notification settings

rotemtam/dynamodb-promise

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dynamodb-promise

A Promisified dynamodb Document Client , with some useful helpers

Usage

Install:

npm i --save dynamodb-promise

Use:

'use strict';

const DocumentClient = require('dynamodb-promise')
 , co = require('co');

let docClient = DocumentClient({region: 'us-east-1'});

function *main() {
  let res = yield docClient.scanFullAsync({
    TableName: 'example_table_name'
  });
  console.log(`Found ${res.Items.length} items.`)
}

co(main);

About

A Promisified DynamoDB Document Client , with some useful helpers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages