Getting Started
Last updated
Was this helpful?
Last updated
Was this helpful?
It's possible to use TypeDI without TypesScript, however some of the functionality is limited or not available. These differences are listed below in the section.
To start using TypeDI with JavaScript install it via NPM:
The most basic usage is to request an instance of a class definition. TypeDI will check if an instance of the class has been created before and return the cached version or it will create a new instance, cache and return it.
To be written...
For more advanced usage examples and patterns please read the .