by nikcub · 9y ago · 0 comments
1. InversifyJS - DI in Typescript / JS
https://github.com/inversify/InversifyJS
2. TypeORM - as it says, might be the best ORM for nodejs projects:
https://github.com/typeorm/typeorm
3. Searchkit - ES web frontend - react + typescript
Also, thanks to the Inversify contributors for continuing to maintain and improve express-utils!
Do you know if there are any plans for allowing the http context (req, namely) to be injected into services? Similar to the IHttpContextAccessor in dotnet core?
I have some use cases for using pieces of the http context (headers) to instantiate some transient services. I started putting together my own pieces to see what I could get away with. Looks like it works okay, but I had to create a new container per request, using the `Container.parent` to link them.
the Typescript ecosystem has really come a long way