require-bean

0.3.0 • Public • Published

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/]

Dependents (0)

Package Sidebar

Install

npm i require-bean

Weekly Downloads

1

Version

0.3.0

License

ISC

Last publish

Collaborators

  • jsanchesleao