Skip to main content

dein

dein defines dependency injection in a functional way and with minimal syntax. It is implemented in TypeScript for Deno.

License Deno module Github
tag Build Code
coverage

Usage

Get started by studying the “Egg Maker” example defined in example.ts and its output:

deno run https://deno.land/x/dein/example.ts

Documentation is still work in progress. Fortunately, the source code is rather minimal:

Contributing

Run dev.ts to build the source files locally:

deno run -A dev.ts