0.2.2 • Published 5 years ago

es-injection v0.2.2

Weekly downloads
3
License
MIT
Repository
github
Last release
5 years ago

es-injection

A modern, lightweight implementation of dependency injection inspired by JSR-330 and Spring.

Version Downloads AppVeyor CircleCI Travis CI

AppVeyor tests Codecov Code Climate Code Climate

Overview

The library makes it possible to:

  • define components and manage their lifecycle
  • inject said components as dependencies

This loose coupling tends to make code more self-contained and easier to test, as injected components can be mocked to exhibit the behavior required for each test.

User Guide

Installation

The library can be installed using npm:

npm install es-injection --save

Or using yarn:

yarn add es-injection

Development

The module can be built using the following command:

npm run compile

It is also possible to keep unit and integration tests executing as a background task:

npm run test:watch
0.2.2

5 years ago

0.2.1

6 years ago

0.2.0

6 years ago

0.1.4

6 years ago

0.1.3

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago