Daymon is an ORM for DynamoDB, currently at version 1.2.27. It provides a simple promise-based API for querying, scanning, saving, and updating items. Key features include automatic timestamp management, empty string conversion, and support for primary and secondary index queries. It is open-source but in early active development, so new versions are continuously published. Compared to other DynamoDB libraries like Dynamoose, Daymon is more lightweight with less abstraction, focusing on direct CRUD operations without schema definitions.
npm install daymonNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates initializing Daymon with AWS config and timestamps, creating a model, saving an item, and handling the response.
Ensure query options contain a key matching the table's hash key or a defined secondary index.
Use the update() method explicitly if you want to update; or remove the hash key to force an insert.
Set convertEmptyStringToNull: true if you want empty strings to be stored as null, otherwise they will be skipped on updates.
Pin to a specific version and test upgrades carefully.
Use require('daymon')(options) instead of just require('daymon').Include the hash key (e.g., { id: 'value' }) in the query options.Ensure the object passed to update() has the correct hash key matching the table schema.
No dependency data recorded yet.