@nathapp/nestjs-common
TypeScript icon, indicating that this package has built-in type declarations

1.0.1-rc.31 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i @nathapp/nestjs-common

Weekly Downloads

0

Version

1.0.1-rc.31

License

ISC

Unpacked Size

114 kB

Total Files

133

Last publish

Collaborators

  • skywills87