Migration tool for AWS DynamoDB, version 1.0.7. It provides a simple CLI to create, apply, and revert database schema or data migrations stored as JavaScript files. Designed for Node.js >= 5.5.0 and uses environment variables for AWS credentials, table prefix, and DynamoDB endpoint. Differentiates from other DynamoDB migration tools by offering a lightweight, file-based approach with support for custom migration folders and table names, and optional babel-register for ES6 syntax. Release cadence appears low; package has not been updated recently.
npm install dynamo-migrateNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Install and run a migration: create, edit, apply up, and revert down.
Set AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY, or use a credential chain if available.
Always set DYNAMO_PREFIX environment variable, e.g., 'myapp_'.
export DYNAMO_PREFIX=your_prefix_
Ensure IAM policy includes dynamodb:CreateTable, dynamodb:DeleteTable, etc.