Data migration module for transferring DynamoDB tables to MongoDB collections. Current stable version: 0.9.4. Provides simple job-based migration with support for DynamoDB filter expressions, data filtering, and mapping functions. Key differentiators: lightweight, explicit throughput control via `DYNAMODB_READ_THROUGHPUT`, and support for both filter expressions and post-scan filters. Primarily used for one-off migrations, not incremental sync. Note: project is in early development with limited maintenance activity.
npm install dynamodb-mongodb-migrateNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows basic initialization and run of a migration job from DynamoDB table to MongoDB collection.
Ensure all 7 arguments are provided. Check documentation for parameter order.
Use `setSourcefilterExpression` with ExpressionAttributeNames and ExpressionAttributeValues.
Set to a value that matches your DynamoDB table's provisioned throughput. Use 1-10 for small tables.
Create the MongoDB collection manually before running migration.
Run `npm install dynamodb-mongodb-migrate` and ensure import path is correct.
Use `const MigrationJob = require('dynamodb-mongodb-migrate');`Verify ExpressionAttributeNames and ExpressionAttributeValues match the filter expression placeholders.