{"_id":"@applifting-io/nestjs-decorated-config","_rev":"9-82cb8d12c5407f0ca2a38796b726a214","name":"@applifting-io/nestjs-decorated-config","dist-tags":{"latest":"1.0.8"},"versions":{"1.0.0":{"name":"@applifting-io/nestjs-decorated-config","version":"1.0.0","keywords":["nest.js","config"],"author":{"name":"Applifting"},"license":"ISC","_id":"@applifting-io/nestjs-decorated-config@1.0.0","maintainers":[{"name":"otavlna","email":"sudetskybaron@protonmail.com"},{"name":"petrvnenk","email":"petr.vnenk@applifting.cz"}],"homepage":"https://github.com/Applifting/nestjs-decorated-config#readme","bugs":{"url":"https://github.com/Applifting/nestjs-decorated-config/issues"},"dist":{"shasum":"5fcc0a9c3a5d6d429d48a1b307fc1dca09c8061b","tarball":"https://registry.npmjs.org/@applifting-io/nestjs-decorated-config/-/nestjs-decorated-config-1.0.0.tgz","fileCount":18,"integrity":"sha512-hmjgjReIv/XuhcShz4Bsp6xrCp0jb1IcchCxAAHI5BAX05XLqXlt7bDSReBBY4dyT7FuQyWxxRlEm6fQ+ucdvQ==","signatures":[{"sig":"MEUCICXOtszELHhltVS0AjoJ0ikR9r9qAUQF6pEz3/PQXOIyAiEA501uPSpc8Ez4Hi9fX7nsPxkLes4XPrVqfRguSvklDSE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":153379},"jest":{"rootDir":"./","testRegex":"\\.spec\\.ts$","transform":{"^.+\\.(t|j)s$":"ts-jest"},"modulePaths":["<rootDir>"],"testEnvironment":"node","coverageDirectory":"coverage","coverageReporters":["html","text","text-summary","cobertura"],"collectCoverageFrom":["**/*.ts"],"moduleFileExtensions":["js","json","ts"],"coveragePathIgnorePatterns":["dist","test-config","interfaces","jestGlobalMocks.ts",".module.ts","<rootDir>/src/main.ts","<rootDir>/src/bootstrap","<rootDir>/repl.ts","<rootDir>/prisma/prisma.service.ts",".mock.ts",".type.ts",".dto.ts"]},"main":"index.js","types":"dist/index.d.ts","gitHead":"37a073109b78e775f534dd21bdda4b8cfaf902b6","scripts":{"lint":"eslint 'lib/**/*.ts' --fix","test":"jest","build":"rimraf -rf dist && tsc -p tsconfig.json","format":"prettier --write \"{lib,test}/**/*.ts\"","test:ci":"jest --collectCoverage --ci --reporters=default --reporters=jest-junit --watchAll=false","test:cov":"jest --coverage","test:debug":"node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand","test:watch":"jest --watch"},"_npmUser":{"name":"otavlna","email":"sudetskybaron@protonmail.com"},"repository":{"url":"git+https://github.com/Applifting/nestjs-decorated-config.git","type":"git"},"_npmVersion":"10.1.0","description":"Nest.js config module with validation using class-validator decorators","directories":{},"_nodeVersion":"20.8.0","_hasShrinkwrap":false,"devDependencies":{"jest":"29.7.0","eslint":"8.51.0","rimraf":"5.0.5","ts-jest":"29.1.1","prettier":"3.0.3","typescript":"5.2.2","@types/jest":"^29.5.5","@types/node":"^20.8.6","@nestjs/core":"10.2.7","@nestjs/common":"10.2.7","@nestjs/testing":"10.2.7","class-validator":"^0.14.0","reflect-metadata":"0.1.13","eslint-plugin-import":"2.28.1","eslint-config-prettier":"9.0.0","eslint-plugin-prettier":"^5.0.1","@nestjs/platform-express":"10.2.7","@typescript-eslint/parser":"6.8.0","@typescript-eslint/eslint-plugin":"6.8.0","@trivago/prettier-plugin-sort-imports":"^4.2.0"},"peerDependencies":{"@nestjs/common":"^8.0.0 || ^9.0.0 || ^10.0.0","class-validator":"^0.14.0","reflect-metadata":"^0.1.13"},"_npmOperationalInternal":{"tmp":"tmp/nestjs-decorated-config_1.0.0_1698239365957_0.920567693829704","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"@applifting-io/nestjs-decorated-config","version":"1.0.1","keywords":["nest.js","config"],"author":{"name":"Applifting"},"license":"ISC","_id":"@applifting-io/nestjs-decorated-config@1.0.1","maintainers":[{"name":"otavlna","email":"sudetskybaron@protonmail.com"},{"name":"petrvnenk","email":"petr.vnenk@applifting.cz"}],"homepage":"https://github.com/Applifting/nestjs-decorated-config#readme","bugs":{"url":"https://github.com/Applifting/nestjs-decorated-config/issues"},"dist":{"shasum":"1f5739f2dc115ba57453e9fbe083ce057adab29a","tarball":"https://registry.npmjs.org/@applifting-io/nestjs-decorated-config/-/nestjs-decorated-config-1.0.1.tgz","fileCount":17,"integrity":"sha512-SrwKoeOetjgQ4kH/kbLfIhyxiVLRjfKU3mAxA1dl3NHUkHZ/9BJ/TpMBMMiwj9ew1MmqEIcBHMZZBZRhNp1faQ==","signatures":[{"sig":"MEUCIQDfDpi7KM2YyU8aoa9s1lvWNGNQcmJISmqsydZB5z2q1QIgUmRdBJlKA/YhGfEE9w5+RWC8HRXo0Zr1mVjFwdFQSoQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16578},"jest":{"rootDir":"./","testRegex":"\\.spec\\.ts$","transform":{"^.+\\.(t|j)s$":"ts-jest"},"modulePaths":["<rootDir>"],"testEnvironment":"node","coverageDirectory":"coverage","coverageReporters":["html","text","text-summary","cobertura"],"collectCoverageFrom":["**/*.ts"],"moduleFileExtensions":["js","json","ts"],"coveragePathIgnorePatterns":["dist","test-config","interfaces","jestGlobalMocks.ts",".module.ts","<rootDir>/src/main.ts","<rootDir>/src/bootstrap","<rootDir>/repl.ts","<rootDir>/prisma/prisma.service.ts",".mock.ts",".type.ts",".dto.ts"]},"main":"index.js","types":"dist/index.d.ts","gitHead":"2c945a4d82838e86d8e2b92ee6ff912097020d52","scripts":{"lint":"eslint 'lib/**/*.ts' --fix","test":"jest","build":"rimraf -rf dist && tsc -p tsconfig.json","format":"prettier --write \"{lib,test}/**/*.ts\"","test:ci":"jest --collectCoverage --ci --reporters=default --reporters=jest-junit --watchAll=false","test:cov":"jest --coverage","test:debug":"node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand","test:watch":"jest --watch"},"_npmUser":{"name":"otavlna","email":"sudetskybaron@protonmail.com"},"repository":{"url":"git+https://github.com/Applifting/nestjs-decorated-config.git","type":"git"},"_npmVersion":"10.1.0","description":"Nest.js config module with validation using class-validator decorators","directories":{},"_nodeVersion":"20.8.0","_hasShrinkwrap":false,"devDependencies":{"jest":"29.7.0","eslint":"8.51.0","rimraf":"5.0.5","ts-jest":"29.1.1","prettier":"3.0.3","typescript":"5.2.2","@types/jest":"^29.5.5","@types/node":"^20.8.6","@nestjs/core":"10.2.7","@nestjs/common":"10.2.7","@nestjs/testing":"10.2.7","class-validator":"^0.14.0","reflect-metadata":"0.1.13","eslint-plugin-import":"2.28.1","eslint-config-prettier":"9.0.0","eslint-plugin-prettier":"^5.0.1","@nestjs/platform-express":"10.2.7","@typescript-eslint/parser":"6.8.0","@typescript-eslint/eslint-plugin":"6.8.0","@trivago/prettier-plugin-sort-imports":"^4.2.0"},"peerDependencies":{"@nestjs/common":"^8.0.0 || ^9.0.0 || ^10.0.0","class-validator":"^0.14.0","reflect-metadata":"^0.1.13"},"_npmOperationalInternal":{"tmp":"tmp/nestjs-decorated-config_1.0.1_1698241617160_0.26454650172943306","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"@applifting-io/nestjs-decorated-config","version":"1.0.2","keywords":["nest.js","config"],"author":{"name":"Applifting"},"license":"ISC","_id":"@applifting-io/nestjs-decorated-config@1.0.2","maintainers":[{"name":"otavlna","email":"sudetskybaron@protonmail.com"},{"name":"petrvnenk","email":"petr.vnenk@applifting.cz"}],"homepage":"https://github.com/Applifting/nestjs-decorated-config#readme","bugs":{"url":"https://github.com/Applifting/nestjs-decorated-config/issues"},"dist":{"shasum":"dc8f8b5a02de0d31a9262c8ee5f8f24b2d7ebd1a","tarball":"https://registry.npmjs.org/@applifting-io/nestjs-decorated-config/-/nestjs-decorated-config-1.0.2.tgz","fileCount":17,"integrity":"sha512-SxjRwbpeKR8iWofmI4+Jrq2l4hCWY8eQsTr1ZX2vE0DWnlD/a018/aEuxMFjiG7lNOhzm2zL+asolltxvnvhsg==","signatures":[{"sig":"MEYCIQDTw+ESDxYecKyOUSEOwwLGc22kFz7RH4zCT2GRg5UGjQIhAI11lq2aXt8M2XK+DqWzwkSutuZT1G7cxsOmU58tF1qT","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19045},"jest":{"rootDir":"./","testRegex":"\\.spec\\.ts$","transform":{"^.+\\.(t|j)s$":"ts-jest"},"modulePaths":["<rootDir>"],"testEnvironment":"node","coverageDirectory":"coverage","coverageReporters":["html","text","text-summary","cobertura"],"collectCoverageFrom":["**/*.ts"],"moduleFileExtensions":["js","json","ts"],"coveragePathIgnorePatterns":["dist","test-config","interfaces","jestGlobalMocks.ts",".module.ts","<rootDir>/src/main.ts","<rootDir>/src/bootstrap","<rootDir>/repl.ts","<rootDir>/prisma/prisma.service.ts",".mock.ts",".type.ts",".dto.ts"]},"main":"index.js","types":"dist/index.d.ts","gitHead":"fcd92527ecebc7eda4009f92599cf32143a4781a","scripts":{"lint":"eslint 'lib/**/*.ts' --fix","test":"jest","build":"rimraf -rf dist && tsc -p tsconfig.json","format":"prettier --write \"{lib,test}/**/*.ts\"","test:ci":"jest --collectCoverage --ci --reporters=default --reporters=jest-junit --watchAll=false","test:cov":"jest --coverage","test:debug":"node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand","test:watch":"jest --watch"},"_npmUser":{"name":"otavlna","email":"sudetskybaron@protonmail.com"},"repository":{"url":"git+https://github.com/Applifting/nestjs-decorated-config.git","type":"git"},"_npmVersion":"10.1.0","description":"Nest.js config module with validation using class-validator decorators","directories":{},"_nodeVersion":"20.8.0","_hasShrinkwrap":false,"devDependencies":{"jest":"29.7.0","eslint":"8.51.0","rimraf":"5.0.5","ts-jest":"29.1.1","prettier":"3.0.3","typescript":"5.2.2","@types/jest":"^29.5.5","@types/node":"^20.8.6","@nestjs/core":"10.2.7","@nestjs/common":"10.2.7","@nestjs/testing":"10.2.7","class-validator":"^0.14.0","reflect-metadata":"0.1.13","eslint-plugin-import":"2.28.1","eslint-config-prettier":"9.0.0","eslint-plugin-prettier":"^5.0.1","@nestjs/platform-express":"10.2.7","@typescript-eslint/parser":"6.8.0","@typescript-eslint/eslint-plugin":"6.8.0","@trivago/prettier-plugin-sort-imports":"^4.2.0"},"peerDependencies":{"@nestjs/common":"^8.0.0 || ^9.0.0 || ^10.0.0","class-validator":"^0.14.0","reflect-metadata":"^0.1.13"},"_npmOperationalInternal":{"tmp":"tmp/nestjs-decorated-config_1.0.2_1698324440106_0.38024122810097594","host":"s3://npm-registry-packages"}},"1.0.3":{"name":"@applifting-io/nestjs-decorated-config","version":"1.0.3","keywords":["nest.js","config"],"author":{"name":"Applifting"},"license":"ISC","_id":"@applifting-io/nestjs-decorated-config@1.0.3","maintainers":[{"name":"otavlna","email":"sudetskybaron@protonmail.com"},{"name":"petrvnenk","email":"petr.vnenk@applifting.cz"}],"homepage":"https://github.com/Applifting/nestjs-decorated-config#readme","bugs":{"url":"https://github.com/Applifting/nestjs-decorated-config/issues"},"dist":{"shasum":"af39ddfd7f9383a681d072d62ce4330bc923ba60","tarball":"https://registry.npmjs.org/@applifting-io/nestjs-decorated-config/-/nestjs-decorated-config-1.0.3.tgz","fileCount":3,"integrity":"sha512-QwCVIwZZVt0EXz37k78LH/t1/aIMMZvUoCbkG4zmB0qFBACqC9AhE59k2EoZZXFQwhdczW/4c/b7U+CE5tiuPg==","signatures":[{"sig":"MEUCICebZUf9Oa6+jvd5caxLAFQjRFmsg/3yuD8uwCxqS28lAiEA3vdKXXsNzulQ/8ZPW90m+d/XszZdCUkIrId0Wf9CQUg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6640},"jest":{"rootDir":"./","testRegex":"\\.spec\\.ts$","transform":{"^.+\\.(t|j)s$":"ts-jest"},"modulePaths":["<rootDir>"],"testEnvironment":"node","coverageDirectory":"coverage","coverageReporters":["html","text","text-summary","cobertura"],"collectCoverageFrom":["**/*.ts"],"moduleFileExtensions":["js","json","ts"],"coveragePathIgnorePatterns":["dist","test-config","interfaces","jestGlobalMocks.ts",".module.ts","<rootDir>/src/main.ts","<rootDir>/src/bootstrap","<rootDir>/repl.ts","<rootDir>/prisma/prisma.service.ts",".mock.ts",".type.ts",".dto.ts"]},"main":"index.js","types":"dist/index.d.ts","gitHead":"6d3d796bc8167e2d40d47cd23b14ae5cc38912ec","scripts":{"lint":"eslint 'lib/**/*.ts' --fix","test":"jest","build":"rimraf -rf dist && tsc -p tsconfig.json","format":"prettier --write \"{lib,test}/**/*.ts\"","test:ci":"jest --collectCoverage --ci --reporters=default --reporters=jest-junit --watchAll=false","test:cov":"jest --coverage","test:debug":"node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand","test:watch":"jest --watch"},"_npmUser":{"name":"petrvnenk","email":"petr.vnenk@applifting.cz"},"repository":{"url":"git+https://github.com/Applifting/nestjs-decorated-config.git","type":"git"},"_npmVersion":"9.6.7","description":"Nest.js config module with validation using class-validator decorators","directories":{},"_nodeVersion":"18.17.0","_hasShrinkwrap":false,"devDependencies":{"jest":"29.7.0","eslint":"8.56.0","rimraf":"5.0.5","ts-jest":"29.1.2","prettier":"3.2.5","typescript":"5.3.3","@types/jest":"^29.5.12","@types/node":"^20.11.16","@nestjs/core":"10.3.2","@nestjs/common":"10.3.2","@nestjs/testing":"10.3.2","class-validator":"^0.14.1","reflect-metadata":"0.2.2","eslint-plugin-import":"2.29.1","eslint-config-prettier":"9.1.0","eslint-plugin-prettier":"^5.1.3","@nestjs/platform-express":"10.3.2","@typescript-eslint/parser":"6.21.0","@typescript-eslint/eslint-plugin":"6.21.0","@trivago/prettier-plugin-sort-imports":"^4.3.0"},"peerDependencies":{"@nestjs/common":"^8.0.0 || ^9.0.0 || ^10.0.0","class-validator":"^0.14.0","reflect-metadata":"^0.1.13 || ^0.2.0"},"_npmOperationalInternal":{"tmp":"tmp/nestjs-decorated-config_1.0.3_1721287357735_0.34735949531575794","host":"s3://npm-registry-packages"}},"1.0.4":{"name":"@applifting-io/nestjs-decorated-config","version":"1.0.4","keywords":["nest.js","config"],"author":{"name":"Applifting"},"license":"ISC","_id":"@applifting-io/nestjs-decorated-config@1.0.4","maintainers":[{"name":"otavlna","email":"sudetskybaron@protonmail.com"},{"name":"petrvnenk","email":"petr.vnenk@applifting.cz"}],"homepage":"https://github.com/Applifting/nestjs-decorated-config#readme","bugs":{"url":"https://github.com/Applifting/nestjs-decorated-config/issues"},"dist":{"shasum":"2800749d0492ba7826f430fa7a62496a95b28743","tarball":"https://registry.npmjs.org/@applifting-io/nestjs-decorated-config/-/nestjs-decorated-config-1.0.4.tgz","fileCount":19,"integrity":"sha512-nVJGDItU8T8oULAZEAW/+QNuw38V3qrLPNv69Y4GkfM95Tx0n9oHBTYSXajkXAd7HY//akAeSw+XX3bjJPY2mQ==","signatures":[{"sig":"MEQCIBJoKMazdhzZU2nQhmuuuwGwOO7mQzr475ru7ohBT+hKAiA5ZDd9usyuUZOiivBgb3urZxXQs1iN/6cxVjQC8PWG6w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21165},"jest":{"rootDir":"./","testRegex":"\\.spec\\.ts$","transform":{"^.+\\.(t|j)s$":"ts-jest"},"modulePaths":["<rootDir>"],"testEnvironment":"node","coverageDirectory":"coverage","coverageReporters":["html","text","text-summary","cobertura"],"collectCoverageFrom":["**/*.ts"],"moduleFileExtensions":["js","json","ts"],"coveragePathIgnorePatterns":["dist","test-config","interfaces","jestGlobalMocks.ts",".module.ts","<rootDir>/src/main.ts","<rootDir>/src/bootstrap","<rootDir>/repl.ts","<rootDir>/prisma/prisma.service.ts",".mock.ts",".type.ts",".dto.ts"]},"main":"index.js","types":"dist/index.d.ts","gitHead":"3bbaf1b72fd32d4a11042d88683ce0e2446f90ca","scripts":{"lint":"eslint 'lib/**/*.ts' --fix","test":"jest","build":"rimraf -rf dist && tsc -p tsconfig.json","format":"prettier --write \"{lib,test}/**/*.ts\"","test:ci":"jest --collectCoverage --ci --reporters=default --reporters=jest-junit --watchAll=false","test:cov":"jest --coverage","test:debug":"node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand","test:watch":"jest --watch"},"_npmUser":{"name":"petrvnenk","email":"petr.vnenk@applifting.cz"},"repository":{"url":"git+https://github.com/Applifting/nestjs-decorated-config.git","type":"git"},"_npmVersion":"9.6.7","description":"Nest.js config module with validation using class-validator decorators","directories":{},"_nodeVersion":"18.17.0","_hasShrinkwrap":false,"devDependencies":{"jest":"29.7.0","eslint":"8.56.0","rimraf":"5.0.5","ts-jest":"29.1.2","prettier":"3.2.5","typescript":"5.3.3","@types/jest":"^29.5.12","@types/node":"^20.11.16","@nestjs/core":"10.3.2","@nestjs/common":"10.3.2","@nestjs/testing":"10.3.2","class-validator":"^0.14.1","reflect-metadata":"0.2.2","eslint-plugin-import":"2.29.1","eslint-config-prettier":"9.1.0","eslint-plugin-prettier":"^5.1.3","@nestjs/platform-express":"10.3.2","@typescript-eslint/parser":"6.21.0","@typescript-eslint/eslint-plugin":"6.21.0","@trivago/prettier-plugin-sort-imports":"^4.3.0"},"peerDependencies":{"@nestjs/common":"^8.0.0 || ^9.0.0 || ^10.0.0","class-validator":"^0.14.0","reflect-metadata":"^0.1.13 || ^0.2.0"},"_npmOperationalInternal":{"tmp":"tmp/nestjs-decorated-config_1.0.4_1721298290179_0.26174272548019606","host":"s3://npm-registry-packages"}},"1.0.5":{"name":"@applifting-io/nestjs-decorated-config","version":"1.0.5","keywords":["nest.js","config"],"author":{"name":"Applifting"},"license":"ISC","_id":"@applifting-io/nestjs-decorated-config@1.0.5","maintainers":[{"name":"otavlna","email":"sudetskybaron@protonmail.com"},{"name":"petrvnenk","email":"petr.vnenk@applifting.cz"}],"homepage":"https://github.com/Applifting/nestjs-decorated-config#readme","bugs":{"url":"https://github.com/Applifting/nestjs-decorated-config/issues"},"dist":{"shasum":"d07c04969f658fb1f094dc9f4404a1e707896967","tarball":"https://registry.npmjs.org/@applifting-io/nestjs-decorated-config/-/nestjs-decorated-config-1.0.5.tgz","fileCount":19,"integrity":"sha512-1Z3BMdN598+WE15HYRMQ3YrceyvxatwmGMEb6tW6kgs1ItzSaPbZeOakLZjM6X5H99bSDeqIBiFlNsbSAgWJ5A==","signatures":[{"sig":"MEYCIQCGrjJP49Hc/6zYsYnB/Snk+hFjaaAzZ2PJspv9LuIlzQIhAMmJY7lS2ynFucgx/sGUvs9LzV/XsxSr0bUhTvXKy+ou","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":21165},"jest":{"rootDir":"./","testRegex":"\\.spec\\.ts$","transform":{"^.+\\.(t|j)s$":"ts-jest"},"modulePaths":["<rootDir>"],"testEnvironment":"node","coverageDirectory":"coverage","coverageReporters":["html","text","text-summary","cobertura"],"collectCoverageFrom":["**/*.ts"],"moduleFileExtensions":["js","json","ts"],"coveragePathIgnorePatterns":["dist","test-config","interfaces","jestGlobalMocks.ts",".module.ts","<rootDir>/src/main.ts","<rootDir>/src/bootstrap","<rootDir>/repl.ts","<rootDir>/prisma/prisma.service.ts",".mock.ts",".type.ts",".dto.ts"]},"main":"index.js","types":"dist/index.d.ts","gitHead":"8600b6a1b4b4b5c0670e7a3a8d7078fd51035ce7","scripts":{"lint":"eslint 'lib/**/*.ts' --fix","test":"jest","build":"rimraf -rf dist && tsc -p tsconfig.json","format":"prettier --write \"{lib,test}/**/*.ts\"","test:ci":"jest --collectCoverage --ci --reporters=default --reporters=jest-junit --watchAll=false","test:cov":"jest --coverage","test:debug":"node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand","test:watch":"jest --watch"},"_npmUser":{"name":"petrvnenk","email":"petr.vnenk@applifting.cz"},"repository":{"url":"git+https://github.com/Applifting/nestjs-decorated-config.git","type":"git"},"_npmVersion":"10.9.0","description":"Nest.js config module with validation using class-validator decorators","directories":{},"_nodeVersion":"22.12.0","_hasShrinkwrap":false,"devDependencies":{"jest":"29.7.0","eslint":"8.56.0","rimraf":"5.0.5","ts-jest":"29.1.2","prettier":"3.2.5","typescript":"5.3.3","@types/jest":"^29.5.12","@types/node":"^20.11.16","@nestjs/core":"10.3.2","@nestjs/common":"10.3.2","@nestjs/testing":"10.3.2","class-validator":"^0.14.1","reflect-metadata":"0.2.2","eslint-plugin-import":"2.29.1","eslint-config-prettier":"9.1.0","eslint-plugin-prettier":"^5.1.3","@nestjs/platform-express":"10.3.2","@typescript-eslint/parser":"6.21.0","@typescript-eslint/eslint-plugin":"6.21.0","@trivago/prettier-plugin-sort-imports":"^4.3.0"},"peerDependencies":{"@nestjs/common":"^8.0.0 || ^9.0.0 || ^10.0.0","class-validator":"^0.14.0","reflect-metadata":"^0.1.13 || ^0.2.0"},"_npmOperationalInternal":{"tmp":"tmp/nestjs-decorated-config_1.0.5_1742716627074_0.7677744110929219","host":"s3://npm-registry-packages-npm-production"}},"1.0.6":{"name":"@applifting-io/nestjs-decorated-config","version":"1.0.6","keywords":["nest.js","config"],"author":{"name":"Applifting"},"license":"ISC","_id":"@applifting-io/nestjs-decorated-config@1.0.6","maintainers":[{"name":"otavlna","email":"sudetskybaron@protonmail.com"},{"name":"petrvnenk","email":"petr.vnenk@applifting.cz"}],"homepage":"https://github.com/Applifting/nestjs-decorated-config#readme","bugs":{"url":"https://github.com/Applifting/nestjs-decorated-config/issues"},"dist":{"shasum":"7593d12784044ee2335711edc6e7d1d25f1df788","tarball":"https://registry.npmjs.org/@applifting-io/nestjs-decorated-config/-/nestjs-decorated-config-1.0.6.tgz","fileCount":19,"integrity":"sha512-+AGa7uFhdOhp3cjda/FrOshpFZc9qWaL4lxlkD3YQwAVe2Yq0niET2f0J7niDSg+aK7z4NNLtyYQFDuftFPKbA==","signatures":[{"sig":"MEUCIQCX0wWv59IVe3ladZ8kB2oLK1/+WMtn2IGX4RyB0MEBkgIgaoXPxxEzM5R4BCWfXO1AyME3YHDr/RJ0egSPQqBMGNo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":21169},"jest":{"rootDir":"./","testRegex":"\\.spec\\.ts$","transform":{"^.+\\.(t|j)s$":"ts-jest"},"modulePaths":["<rootDir>"],"testEnvironment":"node","coverageDirectory":"coverage","coverageReporters":["html","text","text-summary","cobertura"],"collectCoverageFrom":["**/*.ts"],"moduleFileExtensions":["js","json","ts"],"coveragePathIgnorePatterns":["dist","test-config","interfaces","jestGlobalMocks.ts",".module.ts","<rootDir>/src/main.ts","<rootDir>/src/bootstrap","<rootDir>/repl.ts","<rootDir>/prisma/prisma.service.ts",".mock.ts",".type.ts",".dto.ts"]},"main":"index.js","types":"dist/index.d.ts","gitHead":"80bb173dca0fdc32e0f16dc3cb3f61a90472b828","scripts":{"lint":"eslint 'lib/**/*.ts' --fix","test":"jest","build":"rimraf -rf dist && tsc -p tsconfig.json","format":"prettier --write \"{lib,test}/**/*.ts\"","test:ci":"jest --collectCoverage --ci --reporters=default --reporters=jest-junit --watchAll=false","test:cov":"jest --coverage","test:debug":"node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand","test:watch":"jest --watch"},"_npmUser":{"name":"petrvnenk","email":"petr.vnenk@applifting.cz"},"repository":{"url":"git+https://github.com/Applifting/nestjs-decorated-config.git","type":"git"},"_npmVersion":"10.9.0","description":"Nest.js config module with validation using class-validator decorators","directories":{},"_nodeVersion":"22.12.0","_hasShrinkwrap":false,"devDependencies":{"jest":"29.7.0","eslint":"8.56.0","rimraf":"5.0.5","ts-jest":"29.1.2","prettier":"3.2.5","typescript":"5.3.3","@types/jest":"^29.5.12","@types/node":"^20.11.16","@nestjs/core":"^10.4.15","@nestjs/common":"10.3.2","@nestjs/testing":"10.3.2","class-validator":"^0.14.1","reflect-metadata":"0.2.2","eslint-plugin-import":"2.29.1","eslint-config-prettier":"9.1.0","eslint-plugin-prettier":"^5.1.3","@nestjs/platform-express":"^10.4.15","@typescript-eslint/parser":"6.21.0","@typescript-eslint/eslint-plugin":"6.21.0","@trivago/prettier-plugin-sort-imports":"^4.3.0"},"peerDependencies":{"@nestjs/common":"^8.0.0 || ^9.0.0 || ^10.0.0","class-validator":"^0.14.0","reflect-metadata":"^0.1.13 || ^0.2.0"},"_npmOperationalInternal":{"tmp":"tmp/nestjs-decorated-config_1.0.6_1742717142848_0.8604036996728621","host":"s3://npm-registry-packages-npm-production"}},"1.0.7":{"name":"@applifting-io/nestjs-decorated-config","version":"1.0.7","keywords":["nest.js","config"],"author":{"name":"Applifting"},"license":"ISC","_id":"@applifting-io/nestjs-decorated-config@1.0.7","maintainers":[{"name":"otavlna","email":"sudetskybaron@protonmail.com"},{"name":"petrvnenk","email":"petr.vnenk@applifting.cz"}],"homepage":"https://github.com/Applifting/nestjs-decorated-config#readme","bugs":{"url":"https://github.com/Applifting/nestjs-decorated-config/issues"},"dist":{"shasum":"c63c8c4b3d28bc1ea74a2e62f9612094dcd86b72","tarball":"https://registry.npmjs.org/@applifting-io/nestjs-decorated-config/-/nestjs-decorated-config-1.0.7.tgz","fileCount":19,"integrity":"sha512-2ZmwsLFrWjGaeqw6eOKSbD3s45lr2lWqgOrIrmHSNr7m3cfKO9e+IKMIMcpLH69WQOYMWzxVMdrllvPXJxRArQ==","signatures":[{"sig":"MEUCIQChADwg8hI1JCFDV33SG4YJXt5XGLPOcf+Y++kfPO+suAIgHMw/t1Xg3MiMy2DvRVdFVi105v/UXyVpS0XAdQ7Jpqs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":22217},"jest":{"rootDir":"./","testRegex":"\\.spec\\.ts$","transform":{"^.+\\.(t|j)s$":"ts-jest"},"modulePaths":["<rootDir>"],"testEnvironment":"node","coverageDirectory":"coverage","coverageReporters":["html","text","text-summary","cobertura"],"collectCoverageFrom":["**/*.ts"],"moduleFileExtensions":["js","json","ts"],"coveragePathIgnorePatterns":["dist","test-config","interfaces","jestGlobalMocks.ts",".module.ts","<rootDir>/src/main.ts","<rootDir>/src/bootstrap","<rootDir>/repl.ts","<rootDir>/prisma/prisma.service.ts",".mock.ts",".type.ts",".dto.ts"]},"main":"index.js","types":"dist/index.d.ts","gitHead":"9a6d4846d78d26f8cf2b1d1b3261d7fdeb47503c","scripts":{"lint":"eslint 'lib/**/*.ts' --fix","test":"jest","build":"rimraf -rf dist && tsc -p tsconfig.json","format":"prettier --write \"{lib,test}/**/*.ts\"","test:ci":"jest --collectCoverage --ci --reporters=default --reporters=jest-junit --watchAll=false","test:cov":"jest --coverage","test:debug":"node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand","test:watch":"jest --watch"},"_npmUser":{"name":"petrvnenk","email":"petr.vnenk@applifting.cz"},"repository":{"url":"git+https://github.com/Applifting/nestjs-decorated-config.git","type":"git"},"_npmVersion":"10.9.0","description":"Nest.js config module with validation using class-validator decorators","directories":{},"_nodeVersion":"22.12.0","_hasShrinkwrap":false,"devDependencies":{"jest":"29.7.0","eslint":"8.56.0","rimraf":"5.0.5","ts-jest":"29.1.2","prettier":"3.2.5","typescript":"5.3.3","@types/jest":"^29.5.12","@types/node":"^20.11.16","@nestjs/core":"^10.4.15","@nestjs/common":"10.3.2","@nestjs/testing":"10.3.2","class-validator":"^0.14.1","reflect-metadata":"0.2.2","eslint-plugin-import":"2.29.1","eslint-config-prettier":"9.1.0","eslint-plugin-prettier":"^5.1.3","@nestjs/platform-express":"^10.4.15","@typescript-eslint/parser":"6.21.0","@typescript-eslint/eslint-plugin":"6.21.0","@trivago/prettier-plugin-sort-imports":"^4.3.0"},"peerDependencies":{"@nestjs/common":"^8.0.0 || ^9.0.0 || ^10.0.0","class-validator":"^0.14.0","reflect-metadata":"^0.1.13 || ^0.2.0"},"_npmOperationalInternal":{"tmp":"tmp/nestjs-decorated-config_1.0.7_1742718838941_0.08660303118296486","host":"s3://npm-registry-packages-npm-production"}},"1.0.8":{"name":"@applifting-io/nestjs-decorated-config","version":"1.0.8","description":"Nest.js config module with validation using class-validator decorators","author":{"name":"Applifting"},"license":"ISC","main":"index.js","types":"dist/index.d.ts","scripts":{"build":"rimraf -rf dist && tsc -p tsconfig.json","format":"prettier --write \"{lib,test}/**/*.ts\"","lint":"eslint 'lib/**/*.ts' --fix","test":"jest","test:watch":"jest --watch","test:cov":"jest --coverage","test:debug":"node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand","test:ci":"jest --collectCoverage --ci --reporters=default --reporters=jest-junit --watchAll=false"},"devDependencies":{"@nestjs/common":"10.3.2","@nestjs/core":"^10.4.15","@nestjs/platform-express":"^10.4.15","@nestjs/testing":"10.3.2","@trivago/prettier-plugin-sort-imports":"^4.3.0","@types/jest":"^29.5.12","@types/node":"^20.11.16","@typescript-eslint/eslint-plugin":"6.21.0","@typescript-eslint/parser":"6.21.0","class-validator":"^0.14.1","eslint":"8.56.0","eslint-config-prettier":"9.1.0","eslint-plugin-import":"2.29.1","eslint-plugin-prettier":"^5.1.3","jest":"29.7.0","prettier":"3.2.5","reflect-metadata":"0.2.2","rimraf":"5.0.5","ts-jest":"29.1.2","typescript":"5.3.3"},"peerDependencies":{"@nestjs/common":">=8.0.0","class-validator":">=0.14.0","reflect-metadata":">=0.1.13"},"keywords":["nest.js","config"],"repository":{"type":"git","url":"git+https://github.com/Applifting/nestjs-decorated-config.git"},"jest":{"moduleFileExtensions":["js","json","ts"],"rootDir":"./","modulePaths":["<rootDir>"],"testRegex":"\\.spec\\.ts$","transform":{"^.+\\.(t|j)s$":"ts-jest"},"collectCoverageFrom":["**/*.ts"],"coveragePathIgnorePatterns":["dist","test-config","interfaces","jestGlobalMocks.ts",".module.ts","<rootDir>/src/main.ts","<rootDir>/src/bootstrap","<rootDir>/repl.ts","<rootDir>/prisma/prisma.service.ts",".mock.ts",".type.ts",".dto.ts"],"coverageReporters":["html","text","text-summary","cobertura"],"coverageDirectory":"coverage","testEnvironment":"node"},"_id":"@applifting-io/nestjs-decorated-config@1.0.8","gitHead":"bd4c019d67465d902031dc3b079189fc396457eb","bugs":{"url":"https://github.com/Applifting/nestjs-decorated-config/issues"},"homepage":"https://github.com/Applifting/nestjs-decorated-config#readme","_nodeVersion":"22.12.0","_npmVersion":"10.9.0","dist":{"integrity":"sha512-ggOlFYkNbXjUcFym/7Qahzq6zDnucTr3/JopyqXdgPvtADCt9B8C6DEjsEMkowbDxI2h+zWrRY+/7zzJEdTz9Q==","shasum":"9f01028763bdc4f0e4247fe125f0372f9bb03249","tarball":"https://registry.npmjs.org/@applifting-io/nestjs-decorated-config/-/nestjs-decorated-config-1.0.8.tgz","fileCount":19,"unpackedSize":22189,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDlGgZGC6nmRqhvVQdSRPmiGaqgvzJMenNUodOeuCKaiQIgZqrE76dK02IJylRVpfD8C6p6XcwGiBFqojgG7j4q3Qg="}]},"_npmUser":{"name":"petrvnenk","email":"petr.vnenk@applifting.cz"},"directories":{},"maintainers":[{"name":"otavlna","email":"sudetskybaron@protonmail.com"},{"name":"petrvnenk","email":"petr.vnenk@applifting.cz"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/nestjs-decorated-config_1.0.8_1743240181691_0.16301192384344487"},"_hasShrinkwrap":false}},"time":{"created":"2023-10-25T13:09:25.821Z","modified":"2025-03-29T09:23:02.085Z","1.0.0":"2023-10-25T13:09:26.221Z","1.0.1":"2023-10-25T13:46:57.733Z","1.0.2":"2023-10-26T12:47:20.310Z","1.0.3":"2024-07-18T07:22:37.899Z","1.0.4":"2024-07-18T10:24:50.345Z","1.0.5":"2025-03-23T07:57:07.258Z","1.0.6":"2025-03-23T08:05:43.030Z","1.0.7":"2025-03-23T08:33:59.188Z","1.0.8":"2025-03-29T09:23:01.892Z"},"bugs":{"url":"https://github.com/Applifting/nestjs-decorated-config/issues"},"author":{"name":"Applifting"},"license":"ISC","homepage":"https://github.com/Applifting/nestjs-decorated-config#readme","keywords":["nest.js","config"],"repository":{"type":"git","url":"git+https://github.com/Applifting/nestjs-decorated-config.git"},"description":"Nest.js config module with validation using class-validator decorators","maintainers":[{"name":"otavlna","email":"sudetskybaron@protonmail.com"},{"name":"petrvnenk","email":"petr.vnenk@applifting.cz"}],"readme":"# NestJS Decorated Config\n\n## Description\n\nEnvironment variable configuration module for [Nest.js](https://github.com/nestjs/nest) featuring validation using [class-validator](https://github.com/typestack/class-validator) decorators.\n\n## Installation\n\n```bash\n$ npm i @applifting-io/nestjs-decorated-config\n```\n\n## Usage\n\nLet's say you have the following .env file (or start your application in an environment providing those variables)\n\n```.env\nSECRET=\"WmOZI77oOQf76cM9GASDWB7tS3MZ01TPM395FCUN9oE=\"\nURL=\"http://localhost:3000\"\n```\n\n### ConfigService definition\n\nCreate your own ConfigService. Define a property for each environment variable. Decorate them with @Env decorator - make sure the first parameter matches your environment variable name.\n\nOptionally decorate your properties with class-validator decorators.\n\n```ts\n// config.service.ts\nimport { Env } from '@applifting-io/nestjs-decorated-config';\nimport { Injectable } from '@nestjs/common';\nimport { IsNotEmpty, IsUrl } from 'class-validator';\n\n@Injectable()\nexport class ConfigService {\n  @Env('URL')\n  @IsUrl()\n  readonly url: string;\n\n  @Env('SECRET')\n  @IsNotEmpty()\n  readonly secret: string;\n\n  @Env('BOOLEAN_VAR', {\n    defaultValue: true, // will use true if no other value is populated from environment\n  })\n  readonly booleanVar: boolean;\n\n  @Env('ARRAY_VAR', {\n    delimiter: '|', // will use comma as a delimiter for the array (\",\" is the default delimiter)\n    parseArray: true, // will parse the array from string to array of strings\n  })\n  readonly arrayVar: string[];\n\n  @Env('NUMBER_VAR', {\n    defaultValue: 42, // will use 42 if no other value is populated from environment\n  })\n  readonly numberVar: number;\n\n  @Env('JSON_VAR', {\n    parseJson: true, // will parse stringified JSON object\n  })\n  readonly jsonVar: {\n    key: string;\n  };\n\n  @Env('EXPOSED_VAR', {\n    expose: true, // will print the value of this variable in the console on startup\n  })\n  readonly exposedVar: string;\n}\n```\n\n#### Options\n\n@Env optionally expects `EnvDecoratorOptions` as second parameter:\n\n```ts\ntype EnvDecoratorOptions<T = any> = {\n  /**\n   * Variable's default value, used if no other value is populated from environment. Undefined by default\n   */\n  defaultValue?: T | (() => T);\n\n  /**\n   * Exposing will show the value of variable in log. False by default\n   */\n  expose?: boolean;\n\n  /**\n   * Removes last string character, if it is a forward slash. False by default\n   */\n  removeTrailingSlash?: boolean;\n\n  /**\n   * Parses the value to a JavaScript object with JSON.parse. Throws on invalid input. False by default\n   */\n  parseJson?: boolean;\n};\n```\n\n### ConfigModule initialization\n\nImport and add ConfigModule to imports array of your root module.\n\n```ts\n// app.module.ts\nimport { ConfigModule } from '@applifting-io/nestjs-decorated-config';\nimport { Module } from '@nestjs/common';\nimport { ConfigService } from 'config.service.ts';\n\n@Module({\n  imports: [ConfigModule.forRootAsync(ConfigService)],\n})\nexport class AppModule {}\n```\n\n#### Options\n\nConfigModule.forRootAsync optionally expects `ConfigModuleOptions` as second parameter:\n\n```ts\ntype ConfigModuleOptions = {\n  /**\n   * Print all variables with `expose: true`. False by default\n   */\n  printOnStartup?: boolean;\n  /**\n   * Validate all variables using class-validator decorators. True by default\n   */\n  validate?: boolean;\n};\n```\n\n### Inject ConfigService where needed\n\nConfigService is available globally, inject it like any other provider\n\n```ts\n// example.service.ts\n\n@Injectable()\nexport class ExampleService {\n  constructor(private readonly config: ConfigService) {}\n\n  example() {\n    console.log(config.url); // => 'http://localhost:3000'\n    console.log(config.secret); // => 'WmOZI77oOQf76cM9GASDWB7tS3MZ01TPM395FCUN9oE='\n    console.log(config.booleanVar); // => true\n    console.log(config.arrayVar); // => ['value1', 'value2']\n    console.log(config.numberVar); // => 42\n    console.log(config.jsonVar); // => { key: 'value' }\n    console.log(config.exposedVar); // => 'value'\n  }\n}\n```\n\n## Important\n\n> **IMPORTANT**\n> If using .env files:\n> `Env` decorators read environment variable values from `process.env`. Due to the nature of decorators in TS, you need to make sure variables from .env file are loaded into process.env **before** importing `Env` or any other JS module that itself imports `Env`.\n\nOne way to achieve this in practice is to run dotenv and then dynamically import the rest of your application in your main.ts entrypoint\n\n```ts\n// main.ts\nimport * as dotenv from 'dotenv';\n\n// Dotenv needs to run before importing bootstrap, because @Env decorators are\n// executed when JS interpreter interprets the decorated class which is in\n// bootstrap's import tree, and we need env var resolution to be finished before that\ndotenv.config();\n\nimport('./bootstrap').then(({ bootstrap }) => bootstrap());\n```\n","readmeFilename":"README.md"}