{"id":17492933,"url":"https://github.com/nest-dynamodb/typedorm","last_synced_at":"2026-03-07T13:02:49.605Z","repository":{"id":80337975,"uuid":"605423689","full_name":"nest-dynamodb/typedorm","owner":"nest-dynamodb","description":"A DynamoDB module for Nest framework (node.js) using typeDorm library","archived":false,"fork":false,"pushed_at":"2026-03-03T20:59:31.000Z","size":211,"stargazers_count":7,"open_issues_count":10,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-03-03T21:13:45.465Z","etag":null,"topics":["aws","dynamodb","nestjs","typedorm"],"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/nest-dynamodb.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-02-23T05:48:59.000Z","updated_at":"2026-02-20T14:27:48.000Z","dependencies_parsed_at":"2025-12-22T23:05:00.605Z","dependency_job_id":null,"html_url":"https://github.com/nest-dynamodb/typedorm","commit_stats":{"total_commits":18,"total_committers":3,"mean_commits":6.0,"dds":0.5555555555555556,"last_synced_commit":"3a4a8f29f16131483bdde84660c4e99ef05fd721"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/nest-dynamodb/typedorm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nest-dynamodb%2Ftypedorm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nest-dynamodb%2Ftypedorm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nest-dynamodb%2Ftypedorm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nest-dynamodb%2Ftypedorm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nest-dynamodb","download_url":"https://codeload.github.com/nest-dynamodb/typedorm/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nest-dynamodb%2Ftypedorm/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30214618,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-07T12:15:00.571Z","status":"ssl_error","status_checked_at":"2026-03-07T12:15:00.217Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["aws","dynamodb","nestjs","typedorm"],"created_at":"2024-10-19T11:08:01.157Z","updated_at":"2026-03-07T13:02:49.589Z","avatar_url":"https://github.com/nest-dynamodb.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"http://nestjs.com/\" target=\"blank\"\u003e\n    \u003cimg src=\"https://nestjs.com/img/logo_text.svg\" width=\"320\" alt=\"Nest Logo\" /\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  A DynamoDB module for Nest framework (node.js) using \u003ca href=\"https://github.com/typedorm/typedorm\"\u003etypeDorm\u003c/a\u003e library\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca\u003e\u003cimg src=\"https://github.com/nest-dynamodb/typedorm/actions/workflows/test.yaml/badge.svg?branch=main\" alt=\"Github action\" /\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n### Installation\n\n#### with npm\n```sh\nnpm install --save @nest-dynamodb/typedorm\n```\n\n#### with yarn\n```sh\nyarn add @nest-dynamodb/typedorm\n```\n\n### How to use?\n\n#### TypeDormModule.forRoot(options)\n\n```ts\nimport { Module } from '@nestjs/common';\nimport { TypeDormModule } from '@nest-dynamodb/typedorm';\nimport { AppController } from './app.controller';\n@Module({\n  imports: [\n    TypeDormModule.forRoot({\n        table,\n        entities: [],\n        documentClient: new DocumentClientV3(new DynamoDBClient({})),\n        name: instanceName\n      }),\n  ],\n  controllers: [AppController],\n})\nexport class AppModule {}\n```\n\n#### TypeDormModule.forRootAsync(options)\n\n```ts\nimport { Module } from '@nestjs/common';\nimport { TypeDormModule } from '@nest-dynamodb/typedorm';\nimport { AppController } from './app.controller';\n@Module({\n  imports: [\n    TypeDormModule.forRootAsync({\n        // need another name here for dependency injection, @InjectTypeDorm(instanceName)\n        name: instanceName,\n        useFactory: async () =\u003e {\n          return {\n            table,\n            entities: [],\n            documentClient: new DocumentClientV3(new DynamoDBClient({})),\n            name: instanceName\n          }\n        },\n      }),\n  ],\n  controllers: [AppController],\n})\nexport class AppModule {}\n```\n\n#### InjectTypeDorm(name?)\n\n```ts\nimport { Controller, Get, } from '@nestjs/common';\nimport { InjectTypeDorm, TypeDormConnection } from '@nest-dynamodb/typedorm';\n@Controller()\nexport class AppController {\n  constructor(\n    @InjectTypeDorm() private readonly connection: TypeDormConnection,\n  ) {}\n  @Get()\n  async getHello() {\n    const item = await this.connection.entityManager.findOne(...);\n    return { item };\n  }\n}\n```\n\n#### TypeDormModule.forRootNonInjection(options)\n\n```ts\nimport { Module } from '@nestjs/common';\nimport { TypeDormModule } from '@nest-dynamodb/typedorm';\nimport { AppController } from './app.controller';\n@Module({\n  imports: [\n    TypeDormModule.forRootNonInjection({\n        table,\n        entities: [],\n        documentClient: new DocumentClientV3(new DynamoDBClient({})),\n      }),\n  ],\n  controllers: [AppController],\n})\nexport class AppModule {}\n```\n\n```ts\nimport { Controller, Get, } from '@nestjs/common';\nimport { TypeDormConnection } from '@nest-dynamodb/typedorm';\n@Controller()\nexport class AppController {\n  constructor(\n    // do not need InjectTypeDorm here\n    private readonly connection: TypeDormConnection,\n  ) {}\n  @Get()\n  async getHello() {\n    const item = await this.connection.entityManager.findOne(...);\n    return { item };\n  }\n}\n```\n\n## License\n\nMIT","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnest-dynamodb%2Ftypedorm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnest-dynamodb%2Ftypedorm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnest-dynamodb%2Ftypedorm/lists"}