TypeScript Di

Open-source TypeScript projects categorized as Di

Top 8 TypeScript Di Projects

  • diod

    A very opinionated inversion of control (IoC) container and dependency injector for Typescript, Node.js or browser apps.

  • iti

    ~1kB Dependency Injection Library for Typescript and React with a unique support of async flow

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
  • Ditox.js

    Dependency injection for modular web applications

  • di-compiler

    A Custom Transformer for Typescript that enables compile-time Dependency Injection

  • dandi

    🌻A modular DI, MVC, and Model binding/validation framework for NodeJS and TypeScript or ES6

  • di

    Dependency injection library for TypeScript projects. (by ts-stack)

  • genioc

    Bloat-free and magical IoC-container for Typescript based on code-generation

  • Project mention: [TS] Java-like, decorator-free simple IOC container | /r/node | 2023-07-04

    Note: the reason "IUserRepository" is passed here as a string to bind() is because Typescript interfaces are not "real" types or symbols, unlike classes, so therefore we must use the string name of them. However, the autogenerated code contains simple union-type that makes sure you pass a correct name for the interface to bind() The key here is that there is an additional pre-preprocessing step that uses Typescript compiler to parse the arguments of each constructor and generates a project-specific IOC container code with a tree of depenedencies, allowing to resolve them in runtime (basically an additional .ts file in your source code folder). You can also run it in watch mode, so it actively rebuilds the tree as you edit the code in project, or just make it a required step before running your app in npm start for example. The example of auto generated container code, that you import in your project can be found there: Github

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • cruet

    A minimalist TypeScript Dependency Injection Container

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

TypeScript Di related posts

Index

What are some of the best open-source Di projects in TypeScript? This list will help you:

Project Stars
1 diod 125
2 iti 119
3 Ditox.js 86
4 di-compiler 77
5 dandi 10
6 di 8
7 genioc 7
8 cruet 5

Sponsored
The modern identity platform for B2B SaaS
The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
workos.com