{"id":24563717,"url":"https://github.com/mildronize/typeorm-di","last_synced_at":"2025-03-17T00:24:56.965Z","repository":{"id":57383623,"uuid":"308385040","full_name":"mildronize/typeorm-di","owner":"mildronize","description":"It's just TypeORM, TypeDI and typeorm-typedi-extensions wrapper.","archived":false,"fork":false,"pushed_at":"2020-10-30T13:21:46.000Z","size":17,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-24T10:48:28.602Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mildronize.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-10-29T16:22:01.000Z","updated_at":"2020-10-30T13:21:48.000Z","dependencies_parsed_at":"2022-09-14T00:21:15.588Z","dependency_job_id":null,"html_url":"https://github.com/mildronize/typeorm-di","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mildronize%2Ftypeorm-di","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mildronize%2Ftypeorm-di/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mildronize%2Ftypeorm-di/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mildronize%2Ftypeorm-di/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mildronize","download_url":"https://codeload.github.com/mildronize/typeorm-di/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243951782,"owners_count":20373797,"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":[],"created_at":"2025-01-23T10:15:24.059Z","updated_at":"2025-03-17T00:24:56.937Z","avatar_url":"https://github.com/mildronize.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TypeORM + TypeDI \n\n[![Build Status](https://travis-ci.org/mildronize/typeorm-di.svg?branch=main)](https://travis-ci.org/mildronize/typeorm-di)\n\nIt's just [TypeORM](https://typeorm.io/), [TypeDI](https://github.com/typestack/typedi) and [typeorm-typedi-extensions](https://github.com/typeorm/typeorm-typedi-extensions) wrapper.\n\nYou can import all from one place :) \n\ne.g. \n\n```bash\nimport { Connection, createConnection, useContainer , Container} from \"typeorm-di\";\n```\n\nFor the usage, you can read on the [TypeORM](https://typeorm.io/), [TypeDI](https://github.com/typestack/typedi) and [typeorm-typedi-extensions](https://github.com/typeorm/typeorm-typedi-extensions) documentations.\n\n\n## Installation\n\n1. Install the module\n\n    ```bash\n    npm install typeorm-di \n    ```\n\n2. Install all dependencies (Peer)\n\n    ```bash \n    npm install typeorm typedi typeorm-typedi-extensions reflect-metadata\n    ```\n\n###\n\n## For building\n```\nnpm install typeorm typedi typeorm-typedi-extensions reflect-metadata @types/node\nnpm build\n```\n\n## Docs\n\nThere is only one object that duplicate between `TypeORM` and `TypeDI`: `ObjectType`\n\nIn case you want to use `ObjectType`\n\n```\nimport { ObjectType } from \"typeorm-di\";  // from `TypeORM`\nimport { ObjectTypeDI } from \"typeorm-di\"; //from `TypeDI` \n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmildronize%2Ftypeorm-di","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmildronize%2Ftypeorm-di","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmildronize%2Ftypeorm-di/lists"}