1.0.9 • Published 3 years ago

dynamodb-ws-cli v1.0.9

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

dynamodb-ws-cli

A workspace to work with dynamodb

Installation

npm install -g dynamodb-ws-cli

How to use :

  1. Go to workspace parent directory and create config.js
module.exports = {
    awsConfig: {
        region: 'ap-southeast-1' 
    },
    dynamoConfig: {
        region: 'ap-southeast-1' 
    },
    workdir: 'scripts'
};
  1. Create directory with name according to the config and add file js {workdir}/filename.js :
const { readXlsx ,getAllDataFromDynamo, toExcel, getData } = require('dynamodb-ws-cli')

module.exports = async (dynamodb) => {
    console.log('running scripts');
};
  1. Run script with command below on the same directory with config.js
dynamodb-ws-cli run <filename>
1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago