{"id":22377753,"url":"https://github.com/someimportantcompany/dynazord","last_synced_at":"2026-05-16T22:06:35.480Z","repository":{"id":42673172,"uuid":"323637819","full_name":"someimportantcompany/dynazord","owner":"someimportantcompany","description":"DynamoDB NodeJS ORM","archived":false,"fork":false,"pushed_at":"2023-02-03T15:48:23.000Z","size":752,"stargazers_count":1,"open_issues_count":7,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-14T17:17:12.795Z","etag":null,"topics":["amazon","aws","dynamo","dynamodb","model","nosql","schema"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/someimportantcompany.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-12-22T13:44:51.000Z","updated_at":"2023-04-30T03:09:03.000Z","dependencies_parsed_at":"2023-02-18T08:31:39.561Z","dependency_job_id":null,"html_url":"https://github.com/someimportantcompany/dynazord","commit_stats":null,"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"purl":"pkg:github/someimportantcompany/dynazord","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/someimportantcompany%2Fdynazord","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/someimportantcompany%2Fdynazord/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/someimportantcompany%2Fdynazord/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/someimportantcompany%2Fdynazord/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/someimportantcompany","download_url":"https://codeload.github.com/someimportantcompany/dynazord/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/someimportantcompany%2Fdynazord/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268696899,"owners_count":24292384,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-04T02:00:09.867Z","response_time":79,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["amazon","aws","dynamo","dynamodb","model","nosql","schema"],"created_at":"2024-12-04T22:15:28.865Z","updated_at":"2026-05-16T22:06:35.454Z","avatar_url":"https://github.com/someimportantcompany.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Dynazord logo](./docs/logo.png)\n\n[![NPM](https://badge.fury.io/js/dynazord.svg)](https://npm.im/dynazord)\n[![CI](https://github.com/someimportantcompany/dynazord/workflows/Test/badge.svg?branch=master)](https://github.com/someimportantcompany/dynazord/actions?query=branch%3Amaster)\n[![Coverage](https://coveralls.io/repos/github/someimportantcompany/dynazord/badge.svg)](https://coveralls.io/github/someimportantcompany/dynazord)\n\n\u003e [!WARNING]\n\u003e **No longer maintained** - replaced with \u003chttps://www.npmjs.com/package/electrodb\u003e\n\n[DynamoDB](https://aws.amazon.com/dynamodb) [NodeJS](https://nodejs.org) [ORM](https://en.wikipedia.org/wiki/Object–relational_mapping), inspired by similar ORMs like [Mongoose](https://mongoosejs.com) \u0026 [Sequelize](https://sequelize.org).\n\n```js\nconst dynazord = require('dynazord');\n\nconst users = dynazord.createModel({\n  tableName: 'dynazord-test-users',\n  keySchema: {\n    hash: 'email',\n  },\n  properties: {\n    email: {\n      type: String,\n      required: true,\n    },\n    name: {\n      type: String,\n      required: true,\n    },\n    avatar: {\n      type: String,\n    },\n    role: {\n      type: String,\n      enum: [ 'ADMIN', 'MODERATOR', 'EDITOR', 'USER' ],\n      default: () =\u003e 'USER',\n    },\n  },\n});\n\nconst user = await users.create({\n  email: 'jdrydn@github.io',\n  name: 'James D',\n  avatar: 'https://github.com/jdrydn.png',\n});\nconsole.log(user);\n// { email: 'jdrydn@github.io',\n//   name: 'James D',\n//   avatar: 'https://github.com/jdrydn.png'\n//   role: 'USER' }\n\nconst user = await users.get({ email: 'jdrydn@github.io' });\nconsole.log(user);\n// { email: 'jdrydn@github.io',\n//   name: 'James D',\n//   avatar: 'https://github.com/jdrydn.png'\n//   role: 'USER' }\n\nconst user = await users.update({ role: 'EDITOR' }, { email: 'jdrydn@github.io' });\nconsole.log(user);\n// { email: 'jdrydn@github.io',\n//   name: 'James D',\n//   avatar: 'https://github.com/jdrydn.png'\n//   role: 'EDITOR' }\n\nconst user = await users.delete({ email: 'jdrydn@github.io' });\nconsole.log(user);\n// true\n```\n\nThis library is designed to simplify interaction with DynamoDB, offering more traditional CRUD methods instead of learning DynamoDB's [`getItem`](https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/DynamoDB.html#getItem-property)/[`putItem`](https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/DynamoDB.html#putItem-property) methods. You can also write functions to validate properties on objects \u0026 add other hooks to transform data to suit your needs.\n\n### Features\n\n- Create schemas for items in DynamoDB, with validation \u0026 hooks to transform data on read \u0026 write.\n- Read/write methods supporting create, read, update, delete \u0026 upsert.\n- Bulk read/write methods supporting create, read, update, delete \u0026 upsert.\n- Transactional read/write methods supporting create, read, update, delete \u0026 upsert.\n- Query \u0026 scan support, following DynamoDB principles.\n- \"OneTable\" support, where models can share the same DynamoDB table underneath.\n\n## Installation\n\n```bash\n$ npm install --save dynazord\n```\n\n## Documentation\n\n- [Getting Started](./docs/1-Getting-Started.md)\n- [Writing Models](./docs/2-Writing-Models.md)\n- [Using Models](./docs/3-Using-Models.md)\n- [Examples](./examples/)\n\n## Development\n\n- Documentation is stored in Git, alongside code, therefore as code changes so should the documentation!\n- All major work should be in feature branches, include tests \u0026 finish with a PR into `master`.\n- To run tests, fire up [`amazon/dynamodb-local`](https://hub.docker.com/r/amazon/dynamodb-local)\n  ```\n  docker run --rm -d --name dynamodb -p 8000:8000 amazon/dynamodb-local\n  ```\n  - Please take note of [the differences](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DynamoDBLocal.UsageNotes.html#DynamoDBLocal.Differences) between the production AWS DynamoDB platform \u0026 local Docker container.\n\n---\n\nAny questions or suggestions please [open an issue](https://github.com/someimportantcompany/dynazord/issues).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsomeimportantcompany%2Fdynazord","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsomeimportantcompany%2Fdynazord","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsomeimportantcompany%2Fdynazord/lists"}