require-bean

Minimal IoC container

npm install require-bean
22 downloads in the last week
29 downloads in the last month

Require Bean

This is a minimal IoC container, designed for simplicity. It's main concept is the container, in which the beans are registered. A bean is just a function that returns a value, like the following:

var mybean = function(){
    return {
        value: 'something'
        //anything here
    }
}

Installation

npm install require-bean

Documentation

[http://jsanchesleao.github.io/require-bean/]

npm loves you