dynamodb-simple-scan

0.0.4 • Public • Published

Description

Objectif is simplify the scan function of the aws-sdk package.

Using the parallel requests to optimize the network activity durring the Scan processuses.

Install

You can install this package via NPM

$ npm i --save dynamodb-simple-scan

or by cloning this repository

git clone 

Usage

var SimpleScan = require('dynamodb-simple-scan')
 
var AWS = require('aws-sdk')
var DynamoDB = new AWS.DynamoDB({
    accessKeyId: 'XXXXXXXXX',
    secretAccessKey: 'XXXXXXXXX',
    region: 'XXXXXXXX'
})
 
SimpleScan(DynamoDB, {
    TableName: 'MyTable'
}, function(err, res) {
    //All table items
    console.log(res)  
})

Todo

  • After parallel scan check if last scan are good executed, else launch scan untill scan finished.

Readme

Keywords

Package Sidebar

Install

npm i dynamodb-simple-scan

Weekly Downloads

6

Version

0.0.4

License

ISC

Last publish

Collaborators

  • clementkerneur