Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

copy-dynamodb-table

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

copy-dynamodb-table - npm Package Compare versions

Comparing version 2.0.2 to 2.0.3

5

example.js
var copy = require('./index').copy
var globalAWSConfig = { // AWS Configration object http://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/Config.html#constructor-property

@@ -26,7 +25,7 @@ accessKeyId: 'AKID',

tableName: 'source_table_name', // required
config: sourceAWSConfig // optional leave blank to use globalAWSConfig
config: sourceAWSConfig // optional , leave blank to use globalAWSConfig
},
destination: {
tableName: 'destination_table_name', // required
config: destinationAWSConfig // optional
config: destinationAWSConfig // optional , leave blank to use globalAWSConfig
},

@@ -33,0 +32,0 @@ log: true // default false

3

gruntFile.js

@@ -5,3 +5,3 @@ 'use strict';

var files = [
'./*.js',
'./*.js'
];

@@ -50,4 +50,3 @@ grunt.initConfig({

grunt.loadNpmTasks('grunt-jsbeautifier');
grunt.registerTask('default', ['jsbeautifier', 'jshint']);
};

@@ -8,3 +8,3 @@ 'use strict'

try {
validate.config(values) // check required fields
validate.config(values)
} catch (err) {

@@ -11,0 +11,0 @@ if (err) {

{
"name": "copy-dynamodb-table",
"version": "2.0.2",
"version": "2.0.3",
"description": "Copy Dynamodb table to another in the same or different zone , It is 100% safe , and speed depends on your destination table user defined write provisioned throughput",

@@ -8,3 +8,4 @@ "keywords": [

"aws-dynamodb",
"AWS"
"AWS",
"copy-tables"
],

@@ -11,0 +12,0 @@ "main": "index.js",

Safe Copy Dynamodb Table
===================
This module will allow you to copy data from one table to another using very simple API, Support cross zone copying and , explicit AWS config for each table ( source & destination )
This module will allow you to copy data from one table to another using very simple API, Support cross zone copying and AWS config for each table ( source & destination )

@@ -6,0 +6,0 @@ ## Installation

@@ -20,3 +20,3 @@ 'use strict'

module.exports.config = function (options) {
return validate(options, 'source') && validate(options, 'destination')
return validate(options, 'source') && validate(options, 'destination') // check both source and destination
}

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc