0.0.3 • Published 3 years ago
@xieyuheng/coupler v0.0.3
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:
- This pattern is also called "Service Container" in Laravel.
Installation
npm install @xieyuheng/couplerDevelopment
npm install // Install dependencies
npm run build // Compile `src/` to `lib/`
npm run watch // Watch the compilation
npm run test // Run testContributions
Be polite, do not bring negative emotion to others.
- TODO.md
- STYLE-GUIDE.md
- CODE-OF-CONDUCT.md
- When contributing, add yourself to AUTHORS