{"repo":"typestack/typedi","free":true,"listed":false,"github":"https://github.com/typestack/typedi","clone":"git clone https://github.com/typestack/typedi.git","description":"Simple yet powerful dependency injection tool for JavaScript and TypeScript.","language":"TypeScript","stars":4242,"topics":["dependency-injection","typescript","inversion-of-control","ioc","typedi"],"license":"MIT","category":"deployment-docker-iac","readme_excerpt":"TypeDI TypeDI is a dependency injection tool for TypeScript and JavaScript. With it you can build well-structured and easily testable applications in Node or in the browser. Main features includes: - property based injection - constructor based injection - singleton and transient services - support for multiple DI containers Installation Note: This installation guide is for usage with TypeScript, if you wish to use TypeDI without Typescript please read the documentation about how get started. To start using TypeDI install the required packages via NPM: Import the reflect-metadata package at the first line of your application: As a last step, you need to enable emitting decorator metadata in your Typescript config. Add these two lines to your tsconfig.json file under the compilerOptions key: Now you are ready to use TypeDI with Typescript! Basic Usage Documentation The detailed usage guide and API documentation for the project can be found: - at [docs.typestack.community/typedi][docs-stable] - in the ./docs folder of the repository [docs-stable]: https://docs.typestack.community/typedi/ [docs-development]: https://docs.typestack.community/typedi/v/develop/ Contributing Please read our contributing guidelines to get started.","default_branch":null,"files":null,"tree":[],"storefront":"/r/typestack","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/typestack/typedi/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}