@pii/di
v1.1.0
Published
A library to dependency injection implementation
Downloads
11
Readme
Pii DI
Pii DI is a library to dependency injection implementation
Installation
npm i -S @pii/di
Requirements
- NodeJS version >= 6
Documentation
Examples
Here is a simple example to get you started:
index.ts
import { Container } from '@pii/di'
Container.addSingleton('test', 12345)
const test = Container.get('test')
console.log(test)
License
This project is MIT licensed.