Dynograte is a Node.js DynamoDB migration tool that tracks migration state in a DynamoDB table. It supports migrations from directories or functions, retry logic via the 'tri' module, and a CLI for generating migration files. Version 2.2.2 is the latest stable release. Key differentiators: lightweight, no external database needed, retry and failure recovery features. Release cadence is low; last release was 2016.
npm install dynograteNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates basic usage: create DynamoDB client, run migrations from a directory.
Treat the dynamodb argument as a reference to the same client instance.
Use a custom retry mechanism instead.
Use aws-sdk v2, or wrap Dynograte with a v2 client when using v3.
Install 'tri' via npm install tri.
Ensure the argument is an instance of AWS.DynamoDB.
Delete the existing migration table or use a different table name.