DI-Compiler (The compiler for DI) 
The compiler for DI
Installation
Simply do: npm install @wessberg/di-compiler
.
Usage
import {compile, getIntro} from "@wessberg/di-compiler";
const compiled = compile(
"a_file.ts", `
class Foo implements IFoo {}
DIContainer.registerSingleton<IFoo, Foo>();
`);
const intro = getIntro();
Changelog:
v1.0.3:
- Bumped CodeAnalyzer dependency to ^v1.0.10
v1.0.2:
- Bumped CodeAnalyzer dependency to ^v1.0.9
v1.0.1:
- Fixed an issue where the found class declarations would be reset for each new file.
v1.0.0: