rue v0.9.2
rue
rue a not (too) opinionated dependency injection container for nodejs
Overview
rue is a dependency injection container for nodejs that borrows concepts from both AngularJS and Spring Framework. The goal of rue is to decouple configuration and application code: One should be able to easily add rue to an existing project without having to greatly re-tool the main application code.
Features
Dependency injection with minimalistic configuration
Configuration is decoupled and unintrusive from application code
Module, service and factory injection patterns supported
Singleton and non-singleton patterns supported
Asynchronous activation and/or deactivation of dependencies with Promise support
Isolate dependencies using activation profiles
Leverages ES6 Proxies to enable swapping mocks and stubs for testing
Installation
npm install rue --save
Usage
Read the full documentation available at http://ruenode.io.
Extensions
- Configuration Injection (rue-config)