Security News
The Push to Ban Ransom Payments Is Gaining Momentum
Ransomware costs victims an estimated $30 billion per year and has gotten so out of control that global support for banning payments is gaining momentum.
dynoport
Advanced tools
Readme
Dynoport is a CLI tool that allows you to easily import and export data from a specified DynamoDB table. It provides a convenient way to transfer data between DynamoDB and JSON files.
To install Dynoport, use the following command:
Copy code
npm install -g dynoport
Dynoport supports two modes: export and import. Here's how you can use each mode:
In export mode, Dynoport exports the data from a DynamoDB table and saves it as a JSON file.
dynoport --table <tableName> --filePath <outputFilePath> --mode export
<tableName>
: The name of the DynamoDB table you want to export.<outputFilePath>
: The path where the JSON file will be saved.Example:
dynoport --table myTable --filePath ./data.json --mode export
This command will export the data from the "myTable" DynamoDB table and save it as a JSON file at "./data.json".
In import mode, Dynoport imports data from a JSON file and inserts it into a specified DynamoDB table.
dynoport --table <tableName> --filePath <inputFilePath> --mode import
<tableName>
: The name of the DynamoDB table where you want to import the data.<inputFilePath>
: The path to the JSON file containing the data to be imported.Example:
dynoport --table myTable --filePath ./data.json --mode import
This command will import the data from the "./data.json" file and insert it into the "myTable" DynamoDB table.
The AWS credentials and region should be properly configured on your system before using Dynoport. Refer to the AWS documentation for more information on configuring credentials.
The DynamoDB table specified should exist and be accessible with the provided credentials.
The exported JSON file will be created or appended to if it already exists.
During import, the JSON file should contain an array of objects, where each object represents a record to be inserted into the DynamoDB table.
For large datasets, the import operation is batched to ensure efficient processing. The batch size can be adjusted using the chunkSize
variable in the code.
Dynoport version: 1.0.0
This project is licensed under the MIT License
FAQs
Dynoport is a CLI tool that allows you to easily import and export data from a specified DynamoDB table. It provides a convenient way to transfer data between DynamoDB and JSON files
The npm package dynoport receives a total of 1 weekly downloads. As such, dynoport popularity was classified as not popular.
We found that dynoport demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Ransomware costs victims an estimated $30 billion per year and has gotten so out of control that global support for banning payments is gaining momentum.
Application Security
New SEC disclosure rules aim to enforce timely cyber incident reporting, but fear of job loss and inadequate resources lead to significant underreporting.
Security News
The Python Software Foundation has secured a 5-year sponsorship from Fastly that supports PSF's activities and events, most notably the security and reliability of the Python Package Index (PyPI).