Version 0.19.0 (last release unknown, no recent updates). Provides a MongoDB-like query syntax for Amazon DynamoDB, including chaining methods like .find(), .where(), .select(), and .exec(). Supports table prefixing, connection to DynamoDB Local, retry mechanisms via p-retry, and TypeScript types. Differentiated by offering a familiar MongoDB-style API for DynamoDB, but has low activity and depends on the older aws-sdk v2.
npm install dynongoNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Connects to DynamoDB (using environment variables for credentials), gets a prefixed table, and queries with MongoDB-like syntax.
Consider migrating to aws-sdk v3 or use a more actively maintained DynamoDB abstraction.
For non-prefixed tables, use dynongo.rawTable('ExactTableName') instead of dynongo.table().Always call .exec() at the end of your query chain, or use await on the promise.
Pin to a specific version and test upgrades carefully.
Run: npm install dynongo
Set AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY (and optionally AWS_SESSION_TOKEN) environment variables, or call dynongo.connect({ accessKeyId: '...', secretAccessKey: '...' }).Use: import dynongo from 'dynongo'; (default import) or const dynongo = require('dynongo');Ensure your .where() conditions use the correct key attributes (hash key, range key) and operators.