{"id":13512567,"url":"https://github.com/blazejkustra/dynamode","last_synced_at":"2025-09-14T16:49:12.862Z","repository":{"id":47732639,"uuid":"516272755","full_name":"blazejkustra/dynamode","owner":"blazejkustra","description":"Dynamode is a modeling tool for Amazon's DynamoDB","archived":false,"fork":false,"pushed_at":"2024-08-30T09:45:56.000Z","size":4509,"stargazers_count":61,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-09-02T16:39:01.382Z","etag":null,"topics":["amazon","aws","data","database","datastore","db","document","dynamo","dynamodb","model","nosql","schema"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/blazejkustra.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-07-21T07:38:44.000Z","updated_at":"2024-08-15T09:00:57.000Z","dependencies_parsed_at":"2024-09-07T17:07:45.239Z","dependency_job_id":"5837c78a-e3e3-43fd-b7c6-fdae57c0205f","html_url":"https://github.com/blazejkustra/dynamode","commit_stats":{"total_commits":226,"total_committers":1,"mean_commits":226.0,"dds":0.0,"last_synced_commit":"f4115c89d4f6affa44910d8820053d0f5123c3d9"},"previous_names":[],"tags_count":40,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blazejkustra%2Fdynamode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blazejkustra%2Fdynamode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blazejkustra%2Fdynamode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blazejkustra%2Fdynamode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/blazejkustra","download_url":"https://codeload.github.com/blazejkustra/dynamode/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240395743,"owners_count":19794573,"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","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","data","database","datastore","db","document","dynamo","dynamodb","model","nosql","schema"],"created_at":"2024-08-01T04:00:20.941Z","updated_at":"2025-02-24T00:10:58.982Z","avatar_url":"https://github.com/blazejkustra.png","language":"TypeScript","funding_links":[],"categories":["Tools"],"sub_categories":[],"readme":"\n\u003cp align=\"center\"\u003e\n\t\u003cimg src=\"docs/static/img/banner.png\" width=\"500\" max-width=\"90%\" alt=\"Dynamode\" /\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n\t\u003ca href=\"https://www.npmjs.com/package/dynamode\" style=\"text-decoration: none;\"\u003e\n\t\t\u003cimg src=\"https://img.shields.io/npm/v/dynamode?style=flat-square\u0026color=001A72\" alt=\"npm\"\u003e\n\t\u003c/a\u003e\n  \u003ca href=\"https://github.com/blazejkustra/dynamode/blob/main/LICENSE\" style=\"text-decoration: none;\"\u003e\n\t\t\u003cimg src=\"https://img.shields.io/github/license/blazejkustra/dynamode?style=flat-square\u0026color=33488E\" alt=\"License\"\u003e\n\t\u003c/a\u003e\n\t\u003ca href=\"https://www.npmjs.com/package/dynamode\" style=\"text-decoration: none;\"\u003e\n\t\t\u003cimg src=\"https://img.shields.io/npm/dw/dynamode?style=flat-square\u0026color=6676AA\" alt=\"npm Downloads\"\u003e\n\t\u003c/a\u003e\n  \u003ca href=\"https://github.com/blazejkustra/dynamode\" style=\"text-decoration: none;\"\u003e\n\t\t\u003cimg src=\"https://img.shields.io/github/stars/blazejkustra/dynamode?style=flat-square\u0026color=38ACDD\" alt=\"stars\"\u003e\n\t\u003c/a\u003e\n\t\u003ca href='https://coveralls.io/github/blazejkustra/dynamode' style=\"text-decoration: none;\"\u003e\n\t\t\u003cimg src='https://img.shields.io/coveralls/github/blazejkustra/dynamode?style=flat-square' \u003e\n\t\u003c/a\u003e\n\u003c/p\u003e\n\n---\n\nDynamode is a modeling tool for Amazon's DynamoDB. Its goal is to ease the use of DynamoDB without its quirks and emphasize DynamoDB advantages over other databases. Dynamode provides a straightforward, object-oriented class-based solution to model your data. It includes strongly typed classes and methods, query and scan builders, and much more.\n\nDynamode is highly influenced by other ORMs/ODMs, such as [TypeORM](https://github.com/typeorm/typeorm), [Dynamoose](https://github.com/dynamoose/dynamoose) and [Mongoose](https://github.com/Automattic/mongoose).\n\n## Documentation\n\nCheck out our dedicated documentation page [here](https://blazejkustra.github.io/dynamode/docs/getting_started/introduction) for info about the library, guide and more.\n\n## Installation\n\nCheck out the [installation](https://blazejkustra.github.io/dynamode/docs/getting_started/installation) section of our docs for the detailed installation instructions.\n\n## License\n\nDynamode is licensed under [The MIT License](LICENSE).\n\n## Examples\n\nExample table definition:\n```ts\ntype ExampleTableProps = {\n  propPk: string;\n  propSk: number;\n  index: string;\n};\n\nconst TABLE_NAME = 'example-table';\n\nclass ExampleTable extends Entity {\n  @attribute.partitionKey.string()\n  propPk: string;\n\n  @attribute.sortKey.number()\n  propSk: number;\n\n  @attribute.lsi.sortKey.string({ indexName: 'LSI_NAME' })\n  index: string;\n\n  constructor(props: ExampleTableProps) {\n    super();\n\n    this.propPk = props.propPk;\n    this.propSk = props.propSk;\n    this.index = props.index;\n  }\n}\n\nexport const ExampleTableManager = new TableManager(ExampleTable, {\n  tableName: TABLE_NAME,\n  partitionKey: 'propPk',\n  sortKey: 'propSk',\n  indexes: {\n    LSI_NAME: {\n      sortKey: 'index',\n    },\n  },\n});\n\nawait ExampleTableManager.create();\n```\n\nExample entity definition:\n```ts\ntype ExampleEntityProps = ExampleTableProps \u0026 {\n  attr: { [k: string]: number };\n};\n\nexport class ExampleEntity extends ExampleTable {\n  @attribute.object()\n  attr: { [k: string]: number };\n\n  constructor(props: ExampleEntityProps) {\n    super(props);\n\n    this.attr = props.attr;\n  }\n}\n\nexport const ExampleEntityManager = ExampleTableManager.entityManager(ExampleEntity);\n\nawait ExampleEntityManager.put(new ExampleEntityManager({ ... }));\n```\n\nFind more examples under the [`examples/`](https://github.com/blazejkustra/dynamode/blob/main/examples/) directory.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblazejkustra%2Fdynamode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblazejkustra%2Fdynamode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblazejkustra%2Fdynamode/lists"}