@nathapp/nestjs-common
v1.0.1-rc.31
Published
NestJs Common Library
Downloads
27
Readme
Common NestJs Library
this is a NestJs Common Library, can be use on fastify and express
Environment Variables for Module Or Services
1.) I18n - I18nCoreModule
LOCALES_FALLBACK_LANGUAGE=en_US ##language fallback
LOCALES_MAP_PATH= ##override i18n loaderOptions.path
LOCALES_LIVE_RELOAD=1 ## loaderOptions live reload
2.) LoggerUtils & LoggerMiddleware
DEBUG_MODE=1 ## Logger log Level
HTTP_LOG_USER_AGENT=1 ## log User Agent on request
HTTP_LOG_REQUEST=1 ## log request data (query, params, body) on request
HTTP_LOG_RESPONSE=1 ## log response data on request
HTTP_LOG_SENSITIVEKEYS=pwd,secret ## censor log response data with the keys, value is in comma separated