
Security News
Vite Releases Technical Preview of Rolldown-Vite, a Rust-Based Bundler
Vite releases Rolldown-Vite, a Rust-based bundler preview offering faster builds and lower memory usage as a drop-in replacement for Vite.
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
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:
npm install -g dynoport
Dynoport supports three modes: wizard, export and import.
The easiest way to use Dynoport is through the interactive wizard:
dynoport
or
dynoport --mode wizard
The wizard will guide you through:
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 --region eu-west-1
<tableName>
: The name of the DynamoDB table you want to export.<outputFilePath>
: The path where the JSON file will be saved.<region>
: Specify the AWS region to use.Example:
dynoport --table myTable --filePath ./data.json --mode export --region us-east-1
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 --region us-east-1
<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.<region>
: Specify the AWS region to use.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.
Option | Description |
---|---|
-t, --table <tableName> | DynamoDB table name |
-f, --filePath <filePath> | JSON file path (for input or output) |
-r, --region <region> | AWS region (defaults to us-east-1) |
-m, --mode <mode> | Mode: export, import, or wizard (default: wizard) |
-v, --version | Show version number |
-h, --help | Display help |
Dynoport uses intelligent batch processing and parallel operations to optimize throughput when working with large datasets. The tool provides:
When running an export operation, you'll see detailed progress information:
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
ā ā
ā DYNOPORT ā
ā CLI Tool v1.0.0 ā
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
ā Table info: ~1,250 items, 3.45 MB
ā Exporting table 'users' to './users-backup.json'...
ā Batch #1: Retrieved 100 items (total: 100)
ā Wrote 100 items to file
ā Batch #2: Retrieved 100 items (total: 200)
ā Wrote 100 items to file
...
ā ⨠Export completed successfully!
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
ā EXPORT SUMMARY ā
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā¤
ā Table: users ā
ā Items: 1250 ā
ā Output: users-backup.json ā
ā Time taken: 2m 15s ā
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
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.
You can configure your AWS credentials in several ways:
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License
Dynoport version: 1.0.0
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 3 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 0 open source maintainers 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
Vite releases Rolldown-Vite, a Rust-based bundler preview offering faster builds and lower memory usage as a drop-in replacement for Vite.
Research
Security News
A malicious npm typosquat uses remote commands to silently delete entire project directories after a single mistyped install.
Research
Security News
Malicious PyPI package semantic-types steals Solana private keys via transitive dependency installs using monkey patching and blockchain exfiltration.