geoow-dependency-injection

1.0.0 • Public • Published

Geoow dependency injection

Dependency injection with use and define

Install

npm install geoow-dependency-injection

How to use

Define a class:

define('ClassName', () =>
{
    return {
        methodName
    };
});

Use the class:

const className = use('className');

className.methodName();

License

GPL-3.0

Package Sidebar

Install

npm i geoow-dependency-injection

Weekly Downloads

0

Version

1.0.0

License

GPL-3.0

Last publish

Collaborators

  • dejakob