@xieyuheng/coupler
TypeScript icon, indicating that this package has built-in type declarations

0.0.3 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i @xieyuheng/coupler

Weekly Downloads

0

Version

0.0.3

License

GPL-3.0-or-later

Unpacked Size

77.1 kB

Total Files

69

Last publish

Collaborators

  • xieyuheng