Dynamize is a promise-based Node.js ORM for Amazon DynamoDB inspired by Sequelize, offering an object-relational mapping layer for managing DynamoDB tables and items. Current stable version is 1.2.2, with infrequent releases and no active development since 2020. It provides schema definition, CRUD operations, query building, and transaction support, but is not recommended for new projects due to lack of TypeScript support and maintenance inactivity. Compared to alternatives like Dynamoose or @aws/dynamodb-data-mapper, Dynamize has a simpler API but lacks advanced features and community support.
npm install dynamizeNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Connects to DynamoDB, defines a User model, and creates a new item.
Use update() or explicitly check if item exists before save().
Use .then()/.catch() or async/await with bluebird.config({ cancellation: true }) to avoid unhandled rejections.Consider migrating to an actively maintained library like Dynamoose or the AWS SDK v3 DynamoDB DocumentClient.
Add .catch() handlers and inspect Bluebird stack traces.
Ensure you have aws-sdk v2 installed (npm install aws-sdk@2).
Run 'npm install dynamize' or 'yarn add dynamize'.
Use const dynamize = require('dynamize'); not import dynamize from 'dynamize';Ensure all schema-defined required fields are set before calling save().
Increase read/write capacity or implement retry logic.
Add { key: 'hash' } to the primary key field in the schema.