@rosmarinus/nest-core
v2.1.8
Published
nest core modules for rosmarinus projects
Readme
@rosmarinus/nest-core
This npm package contains some function encapsulation commonly used in development, which is more engineering-oriented.
How to Install
npm i @rosmarinus/nest-coreModules introduction
- Context
Context decorator, will automatically encapsulate the context of each interface, for example, it will encapsulate the logger used for the interface
- AllExceptionsFilter
This module will capture global errors and return uniform results
- HeadersMiddleware
This module will add Fcgi-Srtime and Request-Id to the headers of all returned results.
- RedisService and RedisModule
This module encapsulates ioredis into a nest module
