aws-dynamo

1.1.0 • Public • Published

dynamo

A wrapper around dynamoDB

usage

 
const datastore = require('aws-dynamo');
 
return new Promise((resolve, reject) => {
 
        try {
 
            const params = {
                TableName: 'foo'
                KeyConditionExpression:    'fooId = :fooId',
                ExpressionAttributeValues: {':fooId': fooId}
            };
 
            datastore.list(params, resolve, reject);
 
        } catch (error) {
 
            reject(new Error(error));
        }
    });
 

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.1.02latest

Version History

VersionDownloads (Last 7 Days)Published
1.1.02
1.0.10
1.0.00

Package Sidebar

Install

npm i aws-dynamo

Weekly Downloads

2

Version

1.1.0

License

ISC

Last publish

Collaborators

  • andyweir-headforwards
  • kernowjoe