nestjs-factory-pattern-module
v1.1.1
Published
A module for exporting data in NestJS
Maintainers
Readme
About
nestjs-factory-pattern-module helps you standardize “strategy/provider selection” in NestJS by letting you register multiple provider implementations and resolve the correct one at runtime using a simple factory token + provider name (type). It leverages NestJS DiscoveryService and a @FactoryProvider(...) decorator to discover providers automatically, then exposes a FactoryService (via FactoryModule.register(...)) to instantiate the right provider on demand—making extensible modules (exports, notifications, payments, etc.) cleaner and easier to scale.
Documentation
For installation, usage, configuration, and examples, see the documentation:
License
MIT — see LICENSE.
