0.0.3 • Published 2 years ago

@xieyuheng/coupler v0.0.3

Weekly downloads
-
License
GPL-3.0-or-later
Repository
github
Last release
2 years ago

Coupler

Simple tools for doing dependency injection through constructors.

The main class of this package is called Coupler, because it can depend on everything, so everything do NOT need to depend on each other.

Thus a coupler should only be used at the outmost parts of your application, and often we should only use one coupler for one application.

Notes:

Installation

npm install @xieyuheng/coupler

Development

npm install    // Install dependencies
npm run build  // Compile `src/` to `lib/`
npm run watch  // Watch the compilation
npm run test   // Run test

Contributions

Be polite, do not bring negative emotion to others.

License