I "invented" a (new?) pattern for super-strictly typed IoC containers / registries

This page summarizes the projects mentioned and recommended in the original post on reddit.com/r/typescript

Our great sponsors
  • Appwrite - The Open Source Firebase alternative introduces iOS support
  • Scout APM - Less time debugging, more time building
  • SonarQube - Static code analysis for 29 languages.
  • JetBrains - Developer Ecosystem Survey 2022
  • InversifyJS

    A powerful and lightweight inversion of control container for JavaScript & Node.js apps powered by TypeScript.

    Hi, I know that there are some solutions out there to deal with IoC containers in TypeScript, like Inversify, but so far, and after many days exploring the Internet looking for a "nice" solution, I didn't find anything alike to what I just came up with... So there's a chance that this is really a novelty when it comes to TS patterns :) , who knows.

  • TypeScript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

    I believe this can be very valuable, mostly when the TypeScript community has been asking for features such as the nameof operator ( #43325, #40846, etc. ) precisely because of this use case.

  • Appwrite

    Appwrite - The Open Source Firebase alternative introduces iOS support . Appwrite is an open source backend server that helps you build native iOS applications much faster with realtime APIs for authentication, databases, files storage, cloud functions and much more!

  • diddly

    ƛ💉 Pure functional dependency injection for TypeScript

    I've toyed with a similar pattern, albeit a purely functional one https://github.com/tom-sherman/diddly

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts