2.4.0 • Published 2 months ago

@shellicar/core-di v2.4.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 months ago

@shellicar/core-di

A basic dependency injection library for TypeScript

Installation & Quick Start

pnpm install @shellicar/core-di

Quick Example

import { Container, injectable } from '@shellicar/core-di';

@injectable()
class Foo {
  sayHello() {
    console.log('Hello from Foo');
  }
}

const container = new Container();
const foo = container.resolve(Foo);
foo.sayHello();

Documentation

For full documentation, visit here.

2.3.0

6 months ago

2.2.0

6 months ago

2.1.1

6 months ago

2.4.0

2 months ago

2.1.0

6 months ago

2.0.1

6 months ago

2.0.0

6 months ago

1.0.0

9 months ago

0.1.0

10 months ago

0.0.4

10 months ago

0.0.3

10 months ago

0.0.2

11 months ago

0.0.1

11 months ago