{"_id":"@142vip/nest","_rev":"12-a0791fc492ffc9935d6a7127defb21cf","name":"@142vip/nest","dist-tags":{"latest":"0.0.1-alpha.11"},"versions":{"0.0.1-alpha.0":{"name":"@142vip/nest","version":"0.0.1-alpha.0","keywords":["公众号搜：储凡"],"author":{"name":"mmdapl","email":"mmdapl@163.com"},"license":"MIT","_id":"@142vip/nest@0.0.1-alpha.0","maintainers":[{"name":"mmdapl","email":"2237221210@qq.com"}],"dist":{"shasum":"5e366103c2e0df132df4c5d0d7da629dadc1f5cf","tarball":"https://registry.npmjs.org/@142vip/nest/-/nest-0.0.1-alpha.0.tgz","fileCount":13,"integrity":"sha512-K62RnAxFxwTLSzmec8bKfhNKZNPMw+tdwo3t0GWHyYlrWUIIabHyW3Jv/968Dwy3lkYQI/ZOyWpdTM8kNgeOqg==","signatures":[{"sig":"MEYCIQCLNYSjcPzyvvQD85TABMx+89yBfE4/HLN2VaKwUvvgJgIhAOjsyNYW8AjQysnb/9t2HwazxqVBTrdc4zgSxcHEIH5o","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3205},"_from":"file:142vip-nest-0.0.1-alpha.0.tgz","types":"./index.d.ts","private":false,"scripts":{"build":"unbuild","typecheck":"tsc --noEmit"},"_npmUser":{"name":"mmdapl","email":"2237221210@qq.com"},"_resolved":"/private/var/folders/93/44x7xwkd2vz0pdy1z9s29m4r0000gn/T/136c066d730ba17e6211eeac11b34a3e/142vip-nest-0.0.1-alpha.0.tgz","_integrity":"sha512-K62RnAxFxwTLSzmec8bKfhNKZNPMw+tdwo3t0GWHyYlrWUIIabHyW3Jv/968Dwy3lkYQI/ZOyWpdTM8kNgeOqg==","_npmVersion":"10.8.1","description":"公众号搜：储凡","directories":{},"_nodeVersion":"20.16.0","dependencies":{"rxjs":"^7.2.0","rimraf":"^3.0.2","@nestjs/core":"^9.0.0","@nestjs/common":"^9.0.0","reflect-metadata":"^0.1.13","@nestjs/platform-express":"^9.0.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"@types/express":"^4.17.13","@nestjs/testing":"^9.0.0","@nestjs/schematics":"^9.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nest_0.0.1-alpha.0_1722504193864_0.3030519223077097","host":"s3://npm-registry-packages"}},"0.0.1-alpha.1":{"name":"@142vip/nest","version":"0.0.1-alpha.1","keywords":["公众号搜：储凡","142vip","@142vip","@142vip/nest","nest"],"author":{"name":"mmdapl","email":"mmdapl@163.com"},"license":"MIT","_id":"@142vip/nest@0.0.1-alpha.1","maintainers":[{"name":"mmdapl","email":"2237221210@qq.com"}],"homepage":"https://142vip.github.io/core-x/packages/nest/","bugs":{"url":"https://github.com/142vip/core-x/issues"},"dist":{"shasum":"1bd63f89648449d4f63e8b3912496f50472925ae","tarball":"https://registry.npmjs.org/@142vip/nest/-/nest-0.0.1-alpha.1.tgz","fileCount":8,"integrity":"sha512-NivSJObdTPLhBa6C7jUZ1LaD8LKXOkWB6zjumounE7QV2Oyp1o7EwlfRQWEAD6RSD5UBn5iE5TbZ65YWL99FWg==","signatures":[{"sig":"MEYCIQDuEspgOd7mK85S4gD23GTl53CkMsJE1LKXnxDWO1TooAIhALFsICmA3yZuGCHjPF4Lqb6JyYSDVM6l2SsLPo9UsDmp","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2974},"main":"./dist/index.mjs","_from":"file:142vip-nest-0.0.1-alpha.1.tgz","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"private":false,"scripts":{"build":"unbuild","typecheck":"tsc --noEmit"},"_npmUser":{"name":"mmdapl","email":"2237221210@qq.com"},"_resolved":"/tmp/3a66310bf5282b6ab04bd21b45097849/142vip-nest-0.0.1-alpha.1.tgz","_integrity":"sha512-NivSJObdTPLhBa6C7jUZ1LaD8LKXOkWB6zjumounE7QV2Oyp1o7EwlfRQWEAD6RSD5UBn5iE5TbZ65YWL99FWg==","repository":{"url":"git+https://github.com/142vip/core-x.git","type":"git","directory":"packages/nest"},"_npmVersion":"10.5.0","description":"Nest.js框架封装的通用工具模块","directories":{},"sideEffects":false,"_nodeVersion":"20.12.2","dependencies":{"rxjs":"^7.2.0","rimraf":"^6.0.0","@nestjs/core":"^10.0.0","@nestjs/common":"^10.0.0","reflect-metadata":"^0.2.0","@nestjs/platform-express":"^10.0.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"@types/express":"^5.0.0","@nestjs/testing":"^10.0.0","@nestjs/schematics":"^10.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nest_0.0.1-alpha.1_1734789285719_0.2380776982280346","host":"s3://npm-registry-packages-npm-production"}},"0.0.1-alpha.2":{"name":"@142vip/nest","version":"0.0.1-alpha.2","keywords":["公众号搜：储凡","142vip","@142vip","@142vip/nest","nest"],"author":{"name":"mmdapl","email":"mmdapl@163.com"},"license":"MIT","_id":"@142vip/nest@0.0.1-alpha.2","maintainers":[{"name":"mmdapl","email":"2237221210@qq.com"}],"homepage":"https://142vip.github.io/core-x/packages/nest/","bugs":{"url":"https://github.com/142vip/core-x/issues"},"dist":{"shasum":"e6abb25eed791c3f696365923250dd8cf5bd7432","tarball":"https://registry.npmjs.org/@142vip/nest/-/nest-0.0.1-alpha.2.tgz","fileCount":7,"integrity":"sha512-L79ynEz2ycCEykcE6ZB6d8FI+tKW3waIBfIE5cHbyPwUNC+jR/2IBRLw5IbFNfS+htpE2PCtQEmHpiDCFmn2yA==","signatures":[{"sig":"MEUCIQCQTc0FmVD0e6Tdn2xecpvybaDXiuNv78KsNRA/xPVoIAIgc8jf6C+qP3VCzfeCYxly9fdFloqAjDzEMLGCDMkBz2E=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5670},"main":"./dist/index.js","_from":"file:142vip-nest-0.0.1-alpha.2.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.js"}},"private":false,"scripts":{"test":"npx jest","build":"npx nest build","typecheck":"tsc --noEmit","test:coverage":"npx jest --coverage"},"_npmUser":{"name":"mmdapl","email":"2237221210@qq.com"},"_resolved":"/tmp/00b417aa2dd9b3bbd40a7275a49c5f6c/142vip-nest-0.0.1-alpha.2.tgz","_integrity":"sha512-L79ynEz2ycCEykcE6ZB6d8FI+tKW3waIBfIE5cHbyPwUNC+jR/2IBRLw5IbFNfS+htpE2PCtQEmHpiDCFmn2yA==","authorInfo":{"url":"https://github.com/142vip","name":"微信公众号：储凡","email":"fairy_vip@2925.com","homePage":"https://142vip.cn"},"repository":{"url":"git+https://github.com/142vip/core-x.git","type":"git","directory":"packages/nest"},"_npmVersion":"10.5.0","description":"Nest.js框架基础模块，管理生产、开发依赖","directories":{},"sideEffects":false,"_nodeVersion":"20.12.2","dependencies":{"fancy-log":"2.0.0","nestjs-pino":"4.4.1","@nestjs/core":"11.1.8","@nestjs/common":"11.1.8","class-validator":"0.14.2","reflect-metadata":"0.2.2","class-transformer":"0.5.1","nest-typed-config":"2.10.1","@nestjs/platform-express":"11.1.8"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"@nestjs/cli":"11.0.10","@types/express":"5.0.0","@nestjs/testing":"11.1.8","@types/fancy-log":"2.0.2","@nestjs/schematics":"11.0.9"},"_npmOperationalInternal":{"tmp":"tmp/nest_0.0.1-alpha.2_1762243172102_0.22930677829785417","host":"s3://npm-registry-packages-npm-production"}},"0.0.1-alpha.3":{"name":"@142vip/nest","version":"0.0.1-alpha.3","keywords":["公众号搜：储凡","142vip","@142vip","@142vip/nest","nest"],"author":{"name":"mmdapl","email":"mmdapl@163.com"},"license":"MIT","_id":"@142vip/nest@0.0.1-alpha.3","maintainers":[{"name":"mmdapl","email":"2237221210@qq.com"}],"homepage":"https://142vip.github.io/core-x/packages/nest/","bugs":{"url":"https://github.com/142vip/core-x/issues"},"dist":{"shasum":"1c322bdf74236f450a94db207740d9d92f613095","tarball":"https://registry.npmjs.org/@142vip/nest/-/nest-0.0.1-alpha.3.tgz","fileCount":19,"integrity":"sha512-qAG2Oro2iWl3RLim2Yb84Rgbk9tFe1Zb20/dA424q6ZXGtJ/yKlPKjMzo+Kl2FNlpskZgZHu9xC3+NuVH/yTkg==","signatures":[{"sig":"MEUCIGAxjfCxHnJWZEWWv9ut6Xa/sAfAD3TS1Y0nF8QWVlxyAiEAh7W761L+z7b8OooGvA3PeEhf0d55Z8NhFv24W1Xnol0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":25222},"main":"./dist/index.js","_from":"file:142vip-nest-0.0.1-alpha.3.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.js"}},"private":false,"scripts":{"test":"npx jest","build":"npx nest build","typecheck":"tsc --noEmit","test:coverage":"npx jest --coverage"},"_npmUser":{"name":"mmdapl","email":"2237221210@qq.com"},"_resolved":"/tmp/8a8982b31a619bb9ce102a8c107b094c/142vip-nest-0.0.1-alpha.3.tgz","_integrity":"sha512-qAG2Oro2iWl3RLim2Yb84Rgbk9tFe1Zb20/dA424q6ZXGtJ/yKlPKjMzo+Kl2FNlpskZgZHu9xC3+NuVH/yTkg==","authorInfo":{"url":"https://github.com/142vip","name":"微信公众号：储凡","email":"fairy_vip@2925.com","homePage":"https://142vip.cn"},"repository":{"url":"git+https://github.com/142vip/core-x.git","type":"git","directory":"packages/nest"},"_npmVersion":"10.5.0","description":"Nest.js框架基础模块，管理生产、开发依赖","directories":{},"sideEffects":false,"_nodeVersion":"20.12.2","dependencies":{"fancy-log":"2.0.0","nestjs-pino":"4.4.1","@nestjs/core":"11.1.8","@nestjs/common":"11.1.8","class-validator":"0.14.2","reflect-metadata":"0.2.2","class-transformer":"0.5.1","nest-typed-config":"2.10.1","@nestjs/platform-express":"11.1.8"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"@nestjs/cli":"11.0.10","@types/express":"5.0.0","@nestjs/testing":"11.1.8","@types/fancy-log":"2.0.2","@nestjs/schematics":"11.0.9"},"_npmOperationalInternal":{"tmp":"tmp/nest_0.0.1-alpha.3_1762310327673_0.020262388180820823","host":"s3://npm-registry-packages-npm-production"}},"0.0.1-alpha.4":{"name":"@142vip/nest","version":"0.0.1-alpha.4","keywords":["公众号搜：储凡","142vip","@142vip","@142vip/nest","nest"],"author":{"name":"mmdapl","email":"mmdapl@163.com"},"license":"MIT","_id":"@142vip/nest@0.0.1-alpha.4","maintainers":[{"name":"mmdapl","email":"2237221210@qq.com"}],"homepage":"https://142vip.github.io/core-x/packages/nest/","bugs":{"url":"https://github.com/142vip/core-x/issues"},"dist":{"shasum":"fa8ba6e1e707a5d66061654d8417ba6c3a360663","tarball":"https://registry.npmjs.org/@142vip/nest/-/nest-0.0.1-alpha.4.tgz","fileCount":19,"integrity":"sha512-qkO88pmwxUJEH/4/xuRtV2rGopODvLogB1As6EfoMGY5pDtwT6UNGcU0wckzNwk1edthLevEyMbE4uW9li1bnw==","signatures":[{"sig":"MEQCIG9GVK+wZmMx3lEp29ozNR5mibObgR1i05ACwrUHN/0BAiB3lht8fSTFzwMCaVWGbFHzPAWCr5MK98Rt7QPcd7YBfw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":25952},"main":"./dist/index.js","_from":"file:142vip-nest-0.0.1-alpha.4.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.js"}},"private":false,"scripts":{"test":"npx jest","build":"npx nest build","typecheck":"tsc --noEmit","test:coverage":"npx jest --coverage"},"_npmUser":{"name":"mmdapl","email":"2237221210@qq.com"},"_resolved":"/tmp/1d15a94e1fe61c674af4d53b8c638532/142vip-nest-0.0.1-alpha.4.tgz","_integrity":"sha512-qkO88pmwxUJEH/4/xuRtV2rGopODvLogB1As6EfoMGY5pDtwT6UNGcU0wckzNwk1edthLevEyMbE4uW9li1bnw==","authorInfo":{"url":"https://github.com/142vip","name":"微信公众号：储凡","email":"fairy_vip@2925.com","homePage":"https://142vip.cn"},"repository":{"url":"git+https://github.com/142vip/core-x.git","type":"git","directory":"packages/nest"},"_npmVersion":"10.5.0","description":"Nest.js框架基础模块，管理生产、开发依赖","directories":{},"sideEffects":false,"_nodeVersion":"20.12.2","dependencies":{"fancy-log":"2.0.0","nestjs-pino":"4.4.1","@nestjs/core":"11.1.8","@nestjs/common":"11.1.8","class-validator":"0.14.2","reflect-metadata":"0.2.2","class-transformer":"0.5.1","nest-typed-config":"2.10.1","@nestjs/platform-express":"11.1.8"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"@nestjs/cli":"11.0.10","@types/express":"5.0.0","@nestjs/testing":"11.1.8","@types/fancy-log":"2.0.2","@nestjs/schematics":"11.0.9"},"_npmOperationalInternal":{"tmp":"tmp/nest_0.0.1-alpha.4_1767201205653_0.13570970552403638","host":"s3://npm-registry-packages-npm-production"}},"0.0.1-alpha.5":{"name":"@142vip/nest","version":"0.0.1-alpha.5","keywords":["公众号搜：储凡","142vip","@142vip","@142vip/nest","nest"],"author":{"name":"mmdapl","email":"mmdapl@163.com"},"license":"MIT","_id":"@142vip/nest@0.0.1-alpha.5","maintainers":[{"name":"mmdapl","email":"2237221210@qq.com"}],"homepage":"https://142vip.github.io/core-x/packages/nest/","bugs":{"url":"https://github.com/142vip/core-x/issues"},"dist":{"shasum":"1a2ebcd2770ac10b49ceb5b6f1cf7a42c46678bb","tarball":"https://registry.npmjs.org/@142vip/nest/-/nest-0.0.1-alpha.5.tgz","fileCount":27,"integrity":"sha512-ZZff7O2EnCf6OXP64gu7uKG/ZN/skpf89WHgle3aWGnnYLruC3iA48UWwwo/ojnlw60lw0uNPklwovWEbri+Kg==","signatures":[{"sig":"MEQCIG6PXt0GXdPluRUgT9+4VX48UVdX9xR0misaBnQOMeDVAiAVTdN7Mbe2fLZ16/cc6JS7SgPSj/TwVR4JrPUWRgJgXA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":20080},"main":"./dist/index.js","_from":"file:142vip-nest-0.0.1-alpha.5.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./index.js"}},"private":false,"scripts":{"test":"npx jest","build":"rm -rf dist && tsc -p tsconfig.json","typecheck":"tsc --noEmit","test:coverage":"npx jest --coverage"},"_npmUser":{"name":"mmdapl","email":"2237221210@qq.com"},"_resolved":"/tmp/3ae1261e42c07db1baef0a1bd9192636/142vip-nest-0.0.1-alpha.5.tgz","_integrity":"sha512-ZZff7O2EnCf6OXP64gu7uKG/ZN/skpf89WHgle3aWGnnYLruC3iA48UWwwo/ojnlw60lw0uNPklwovWEbri+Kg==","authorInfo":{"url":"https://github.com/142vip","name":"微信公众号：储凡","email":"fairy_vip@2925.com","homePage":"https://142vip.cn"},"repository":{"url":"git+https://github.com/142vip/core-x.git","type":"git","directory":"packages/nest"},"_npmVersion":"10.5.0","description":"Nest.js框架基础模块，管理生产、开发依赖","directories":{},"sideEffects":false,"_nodeVersion":"20.12.2","dependencies":{"fancy-log":"2.0.0","nestjs-pino":"4.4.1","@nestjs/core":"11.1.8","@nestjs/common":"11.1.8","class-validator":"0.14.2","reflect-metadata":"0.2.2","class-transformer":"0.5.1","nest-typed-config":"2.10.1","@nestjs/platform-express":"11.1.8"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"@nestjs/cli":"11.0.10","@types/express":"5.0.0","@nestjs/testing":"11.1.8","@types/fancy-log":"2.0.2","@nestjs/schematics":"11.0.9"},"_npmOperationalInternal":{"tmp":"tmp/nest_0.0.1-alpha.5_1767605366358_0.4465747163919791","host":"s3://npm-registry-packages-npm-production"}},"0.0.1-alpha.6":{"name":"@142vip/nest","version":"0.0.1-alpha.6","keywords":["公众号搜：储凡","142vip","@142vip","@142vip/nest","nest"],"author":{"name":"mmdapl","email":"mmdapl@163.com"},"license":"MIT","_id":"@142vip/nest@0.0.1-alpha.6","maintainers":[{"name":"mmdapl","email":"2237221210@qq.com"}],"homepage":"https://142vip.github.io/core-x/packages/nest/","bugs":{"url":"https://github.com/142vip/core-x/issues"},"dist":{"shasum":"5d0b9d84962baac716d0385cc26bb746b5b939f4","tarball":"https://registry.npmjs.org/@142vip/nest/-/nest-0.0.1-alpha.6.tgz","fileCount":28,"integrity":"sha512-fY0anXVPJlgHuNgCupFpHVWj7MdF7k+IJJ/CjVM4JLJO3Kr+wFcuvZzG2oP3W0m/telwP9TkATKwpJBFAiGHYg==","signatures":[{"sig":"MEUCICpN3DQ0qAPZeW6LS/ye64TKZcWbimUFZCDUM8RSpGgwAiEAgBejeN+Wa5Wn0mY2N3m/NaQlY2zK5oS3MJrrhxXgA0M=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":20298},"main":"./dist/index.js","_from":"file:142vip-nest-0.0.1-alpha.6.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./index.js"}},"private":false,"scripts":{"test":"npx jest","build":"rm -rf dist && tsc -p tsconfig.json","typecheck":"tsc --noEmit","test:coverage":"npx jest --coverage"},"_npmUser":{"name":"mmdapl","email":"2237221210@qq.com"},"_resolved":"/tmp/59943da91ae75da3762a389063bfdda7/142vip-nest-0.0.1-alpha.6.tgz","_integrity":"sha512-fY0anXVPJlgHuNgCupFpHVWj7MdF7k+IJJ/CjVM4JLJO3Kr+wFcuvZzG2oP3W0m/telwP9TkATKwpJBFAiGHYg==","authorInfo":{"url":"https://github.com/142vip","name":"微信公众号：储凡","email":"fairy_vip@2925.com","homePage":"https://142vip.cn"},"repository":{"url":"git+https://github.com/142vip/core-x.git","type":"git","directory":"packages/nest"},"_npmVersion":"10.5.0","description":"Nest.js框架基础模块，管理生产、开发依赖","directories":{},"sideEffects":false,"_nodeVersion":"20.12.2","dependencies":{"fancy-log":"2.0.0","nestjs-pino":"4.4.1","@nestjs/core":"11.1.8","@nestjs/common":"11.1.8","class-validator":"0.14.2","reflect-metadata":"0.2.2","class-transformer":"0.5.1","nest-typed-config":"2.10.1","@nestjs/platform-express":"11.1.8"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"@nestjs/cli":"11.0.10","@types/express":"5.0.0","@nestjs/testing":"11.1.8","@types/fancy-log":"2.0.2","@nestjs/schematics":"11.0.9"},"_npmOperationalInternal":{"tmp":"tmp/nest_0.0.1-alpha.6_1767671849579_0.6008866265581803","host":"s3://npm-registry-packages-npm-production"}},"0.0.1-alpha.7":{"name":"@142vip/nest","version":"0.0.1-alpha.7","keywords":["公众号搜：储凡","142vip","@142vip","@142vip/nest","nest"],"author":{"name":"mmdapl","email":"mmdapl@163.com"},"license":"MIT","_id":"@142vip/nest@0.0.1-alpha.7","maintainers":[{"name":"mmdapl","email":"2237221210@qq.com"}],"homepage":"https://142vip.github.io/core-x/packages/nest/","bugs":{"url":"https://github.com/142vip/core-x/issues"},"dist":{"shasum":"f4d5ce273f8fe2511cd8cb6911c9e06187cd1426","tarball":"https://registry.npmjs.org/@142vip/nest/-/nest-0.0.1-alpha.7.tgz","fileCount":52,"integrity":"sha512-oysubrP6vnVIdnv/0dG+YBB1DGaMRMF0I6qCkUxB8DaZQO13PKGnx+SRH9mF4i4C8IXNS1p7J7uvBEDUQOy0Qw==","signatures":[{"sig":"MEUCIQCKHKUE1OnCt9xu4rfIml4mqo2Oqyzq+H4WUBuIh7zI4QIgGfCYywLiQ8pSsDlPROW6FXY20l8GUrlsUQLucqOIMFg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":53510},"main":"./dist/index.js","_from":"file:142vip-nest-0.0.1-alpha.7.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./index.js"}},"private":false,"scripts":{"test":"npx jest","build":"rm -rf dist && tsc -p tsconfig.json","typecheck":"tsc --noEmit","test:coverage":"npx jest --coverage"},"_npmUser":{"name":"mmdapl","email":"2237221210@qq.com"},"_resolved":"/tmp/52e5f8f7e005c4bba5a2fd98516a62be/142vip-nest-0.0.1-alpha.7.tgz","_integrity":"sha512-oysubrP6vnVIdnv/0dG+YBB1DGaMRMF0I6qCkUxB8DaZQO13PKGnx+SRH9mF4i4C8IXNS1p7J7uvBEDUQOy0Qw==","authorInfo":{"url":"https://github.com/142vip","name":"微信公众号：储凡","email":"fairy_vip@2925.com","homePage":"https://142vip.cn"},"repository":{"url":"git+https://github.com/142vip/core-x.git","type":"git","directory":"packages/nest"},"_npmVersion":"10.5.0","description":"Nest.js框架基础模块，管理生产、开发依赖","directories":{},"sideEffects":false,"_nodeVersion":"20.12.2","dependencies":{"rxjs":"7.8.2","fancy-log":"2.0.0","nestjs-pino":"4.4.1","@nestjs/core":"11.1.8","@nestjs/common":"11.1.8","@nestjs/swagger":"11.2.1","class-validator":"0.14.2","reflect-metadata":"0.2.2","class-transformer":"0.5.1","nest-typed-config":"2.10.1","@nestjs/platform-express":"11.1.8"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"@nestjs/cli":"11.0.10","@types/express":"5.0.0","@nestjs/testing":"11.1.8","@types/fancy-log":"2.0.2","@nestjs/schematics":"11.0.9"},"_npmOperationalInternal":{"tmp":"tmp/nest_0.0.1-alpha.7_1769007994012_0.20331581701602408","host":"s3://npm-registry-packages-npm-production"}},"0.0.1-alpha.8":{"name":"@142vip/nest","version":"0.0.1-alpha.8","keywords":["公众号搜：储凡","142vip","@142vip","@142vip/nest","nest"],"author":{"name":"mmdapl","email":"mmdapl@163.com"},"license":"MIT","_id":"@142vip/nest@0.0.1-alpha.8","maintainers":[{"name":"mmdapl","email":"2237221210@qq.com"}],"homepage":"https://142vip.github.io/core-x/packages/nest/","bugs":{"url":"https://github.com/142vip/core-x/issues"},"dist":{"shasum":"f629f75a842fc00a5b2396cbcbba403046033242","tarball":"https://registry.npmjs.org/@142vip/nest/-/nest-0.0.1-alpha.8.tgz","fileCount":58,"integrity":"sha512-1+fsLnjNfbUglDWDjguEogz2tIGTUc6JcdQUSbjuHav2BJHAMnxrPq0bz8VxZAmwvT3dnRdad42naH3H0p5QAg==","signatures":[{"sig":"MEYCIQDa2qVG2M8GVgpfQPzya7mhrWqbYGypk3gpzigoWHUeOQIhALbCHqCUU4M6HZbyFZCIwLNlwAxRWGP8IaX/ziWyXn0g","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":58612},"main":"./dist/index.js","_from":"file:142vip-nest-0.0.1-alpha.8.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./index.js"}},"private":false,"scripts":{"test":"npx jest","build":"rm -rf dist && tsc -p tsconfig.json","typecheck":"tsc --noEmit","test:coverage":"npx jest --coverage"},"_npmUser":{"name":"mmdapl","email":"2237221210@qq.com"},"_resolved":"/tmp/bb877134e8f47351e25e1aa7156ea872/142vip-nest-0.0.1-alpha.8.tgz","_integrity":"sha512-1+fsLnjNfbUglDWDjguEogz2tIGTUc6JcdQUSbjuHav2BJHAMnxrPq0bz8VxZAmwvT3dnRdad42naH3H0p5QAg==","authorInfo":{"url":"https://github.com/142vip","name":"微信公众号：储凡","email":"fairy_vip@2925.com","homePage":"https://142vip.cn"},"repository":{"url":"git+https://github.com/142vip/core-x.git","type":"git","directory":"packages/nest"},"_npmVersion":"10.5.0","description":"Nest.js框架基础模块，管理生产、开发依赖","directories":{},"sideEffects":false,"_nodeVersion":"20.12.2","dependencies":{"rxjs":"7.8.2","fancy-log":"2.0.0","nestjs-pino":"4.4.1","@nestjs/core":"11.1.8","@nestjs/common":"11.1.8","@nestjs/swagger":"11.2.1","class-validator":"0.14.2","reflect-metadata":"0.2.2","class-transformer":"0.5.1","nest-typed-config":"2.10.1","@nestjs/platform-express":"11.1.8"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"@nestjs/cli":"11.0.10","@types/express":"5.0.0","@nestjs/testing":"11.1.8","@types/fancy-log":"2.0.2","@nestjs/schematics":"11.0.9"},"_npmOperationalInternal":{"tmp":"tmp/nest_0.0.1-alpha.8_1769397507537_0.9763216403487509","host":"s3://npm-registry-packages-npm-production"}},"0.0.1-alpha.9":{"name":"@142vip/nest","version":"0.0.1-alpha.9","keywords":["公众号搜：储凡","142vip","@142vip","@142vip/nest","nest"],"author":{"name":"mmdapl","email":"mmdapl@163.com"},"license":"MIT","_id":"@142vip/nest@0.0.1-alpha.9","maintainers":[{"name":"mmdapl","email":"2237221210@qq.com"}],"homepage":"https://142vip.github.io/core-x/packages/nest/","bugs":{"url":"https://github.com/142vip/core-x/issues"},"dist":{"shasum":"5e6fd66fca491bbb51e402c85550e3c3f8c06e7d","tarball":"https://registry.npmjs.org/@142vip/nest/-/nest-0.0.1-alpha.9.tgz","fileCount":58,"integrity":"sha512-2QvNl9CK20pFyzXvpsHjEgb1hDA8vR5SKLE4gKmiaSwrDSSayQTVn6Ns1QF3+pXjiv9mLehRLHOLT18nWGCAHg==","signatures":[{"sig":"MEUCIAFBrAlwc0wfrXkQSrB3hGzoQBmZ2dIer+RDWRGUvwPPAiEAsjAvEYmjy53+ZtVlU94pfmdtPi3AEsga7piVigBkB5Q=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":58648},"main":"./dist/index.js","_from":"file:142vip-nest-0.0.1-alpha.9.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./index.js"}},"private":false,"scripts":{"test":"npx jest","build":"rm -rf dist && tsc -p tsconfig.json","typecheck":"tsc --noEmit","test:coverage":"npx jest --coverage"},"_npmUser":{"name":"mmdapl","email":"2237221210@qq.com"},"_resolved":"/tmp/65f47e342c5e36bc754275e8ae500489/142vip-nest-0.0.1-alpha.9.tgz","_integrity":"sha512-2QvNl9CK20pFyzXvpsHjEgb1hDA8vR5SKLE4gKmiaSwrDSSayQTVn6Ns1QF3+pXjiv9mLehRLHOLT18nWGCAHg==","authorInfo":{"url":"https://github.com/142vip","name":"微信公众号：储凡","email":"fairy_vip@2925.com","homePage":"https://142vip.cn"},"repository":{"url":"git+https://github.com/142vip/core-x.git","type":"git","directory":"packages/nest"},"_npmVersion":"10.5.0","description":"Nest.js框架基础模块，管理生产、开发依赖","directories":{},"sideEffects":false,"_nodeVersion":"20.12.2","dependencies":{"rxjs":"7.8.2","fancy-log":"2.0.0","nestjs-pino":"4.4.1","@nestjs/core":"11.1.8","@nestjs/common":"11.1.8","@nestjs/swagger":"11.2.1","class-validator":"0.14.2","reflect-metadata":"0.2.2","class-transformer":"0.5.1","nest-typed-config":"2.10.1","@nestjs/platform-express":"11.1.8"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"@nestjs/cli":"11.0.10","@types/express":"5.0.0","@nestjs/testing":"11.1.8","@types/fancy-log":"2.0.2","@nestjs/schematics":"11.0.9"},"_npmOperationalInternal":{"tmp":"tmp/nest_0.0.1-alpha.9_1769593078713_0.6379982305670804","host":"s3://npm-registry-packages-npm-production"}},"0.0.1-alpha.10":{"name":"@142vip/nest","version":"0.0.1-alpha.10","keywords":["公众号搜：储凡","142vip","@142vip","@142vip/nest","nest"],"author":{"name":"mmdapl","email":"mmdapl@163.com"},"license":"MIT","_id":"@142vip/nest@0.0.1-alpha.10","maintainers":[{"name":"mmdapl","email":"2237221210@qq.com"}],"homepage":"https://142vip.github.io/core-x/packages/nest/","bugs":{"url":"https://github.com/142vip/core-x/issues"},"dist":{"shasum":"cd24df33d80b6e628a6d538e4bf48601278556f2","tarball":"https://registry.npmjs.org/@142vip/nest/-/nest-0.0.1-alpha.10.tgz","fileCount":64,"integrity":"sha512-swxhP1LJITd5P/1GsIA9WM/dthvw45hXU8QFS+5rY99USt7L3ZolAtzXHZijTXG2Cn/TbRfUHtb/nv/YC/k2vw==","signatures":[{"sig":"MEUCIF1jPpuHGGO9axRirtOdrzv1WFgqOjeVGDKUAOdNs0WTAiEA5pIVfVxZpE3HHCQSxoZAEZtbKuST96S5FMyIPvXwVVw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":60801},"main":"./dist/index.js","_from":"file:142vip-nest-0.0.1-alpha.10.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./index.js"}},"private":false,"scripts":{"test":"npx jest","build":"rm -rf dist && tsc -p tsconfig.json","typecheck":"tsc --noEmit","test:coverage":"npx jest --coverage"},"_npmUser":{"name":"mmdapl","email":"2237221210@qq.com"},"_resolved":"/tmp/026ba13a4f5b69ce62f46c68cc6d73c7/142vip-nest-0.0.1-alpha.10.tgz","_integrity":"sha512-swxhP1LJITd5P/1GsIA9WM/dthvw45hXU8QFS+5rY99USt7L3ZolAtzXHZijTXG2Cn/TbRfUHtb/nv/YC/k2vw==","authorInfo":{"url":"https://github.com/142vip","name":"微信公众号：储凡","email":"fairy_vip@2925.com","homePage":"https://142vip.cn"},"repository":{"url":"git+https://github.com/142vip/core-x.git","type":"git","directory":"packages/nest"},"_npmVersion":"10.5.0","description":"Nest.js框架基础模块，管理生产、开发依赖","directories":{},"sideEffects":false,"_nodeVersion":"20.12.2","dependencies":{"rxjs":"7.8.2","fancy-log":"2.0.0","nestjs-pino":"4.4.1","@nestjs/core":"11.1.8","@nestjs/common":"11.1.8","@nestjs/swagger":"11.2.1","class-validator":"0.14.2","reflect-metadata":"0.2.2","class-transformer":"0.5.1","nest-typed-config":"2.10.1","@nestjs/platform-express":"11.1.8"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"@nestjs/cli":"11.0.10","@types/express":"5.0.0","@nestjs/testing":"11.1.8","@types/fancy-log":"2.0.2","@nestjs/schematics":"11.0.9"},"_npmOperationalInternal":{"tmp":"tmp/nest_0.0.1-alpha.10_1770313673479_0.16995757644545262","host":"s3://npm-registry-packages-npm-production"}},"0.0.1-alpha.11":{"name":"@142vip/nest","version":"0.0.1-alpha.11","private":false,"description":"Nest.js框架基础模块，管理生产、开发依赖","author":{"name":"mmdapl","email":"mmdapl@163.com"},"license":"MIT","homepage":"https://142vip.github.io/core-x/packages/nest/","repository":{"type":"git","url":"git+https://github.com/142vip/core-x.git","directory":"packages/nest"},"keywords":["公众号搜：储凡","142vip","@142vip","@142vip/nest","nest"],"sideEffects":false,"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./index.js"}},"authorInfo":{"name":"微信公众号：储凡","email":"fairy_vip@2925.com","url":"https://github.com/142vip","homePage":"https://142vip.cn"},"main":"./dist/index.js","module":"./dist/index.js","types":"./dist/index.d.ts","peerDependencies":{"@nestjs/common":"11.1.27","@nestjs/core":"11.1.27","@nestjs/platform-express":"11.1.27","@nestjs/swagger":"11.4.5","class-transformer":"0.5.1","class-validator":"0.15.1","fancy-log":"2.0.0","nest-typed-config":"2.10.1","nestjs-pino":"4.6.1","reflect-metadata":"0.2.2","rxjs":"7.8.2"},"devDependencies":{"@nestjs/cli":"11.0.23","@nestjs/schematics":"11.1.0","@nestjs/testing":"11.1.27","@types/express":"5.0.6","@types/fancy-log":"2.0.2"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"scripts":{"build":"rm -rf dist && tsc -p tsconfig.json","typecheck":"tsc --noEmit","test":"npx jest","test:coverage":"npx jest --coverage"},"_id":"@142vip/nest@0.0.1-alpha.11","bugs":{"url":"https://github.com/142vip/core-x/issues"},"_integrity":"sha512-WCkbFOfl8KfLU2OBuKsduam78gdxr3gngAnhcyL/DyVonsbbJtbX5aF11dMy5dKswSc8jdXCEKy9wLy+g00BQw==","_resolved":"/tmp/119bf9b04b14bb6a1757128bc12373b7/142vip-nest-0.0.1-alpha.11.tgz","_from":"file:142vip-nest-0.0.1-alpha.11.tgz","_nodeVersion":"22.10.0","_npmVersion":"11.18.0","dist":{"integrity":"sha512-WCkbFOfl8KfLU2OBuKsduam78gdxr3gngAnhcyL/DyVonsbbJtbX5aF11dMy5dKswSc8jdXCEKy9wLy+g00BQw==","shasum":"e32c01e2d8d9d37461f52bdbc6c2bb6aad4c043f","tarball":"https://registry.npmjs.org/@142vip/nest/-/nest-0.0.1-alpha.11.tgz","fileCount":64,"unpackedSize":60809,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@142vip%2fnest@0.0.1-alpha.11","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIHL/Gj99LtWGwTt+BvmkbfxeQeX/T6JW3OeHHwPb4ExbAiA+XKPOhyLIcU8WHlaIQGZ/XonLnDYMHLn/Ztt+C+hkKw=="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:3248f5a4-a73e-4e68-bda5-cd9e5bb773f3"}},"directories":{},"maintainers":[{"name":"mmdapl","email":"2237221210@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/nest_0.0.1-alpha.11_1782894386442_0.9415812676248461"},"_hasShrinkwrap":false}},"time":{"created":"2024-08-01T09:23:13.721Z","modified":"2026-07-01T08:26:26.974Z","0.0.1-alpha.0":"2024-08-01T09:23:14.081Z","0.0.1-alpha.1":"2024-12-21T13:54:45.926Z","0.0.1-alpha.2":"2025-11-04T07:59:32.364Z","0.0.1-alpha.3":"2025-11-05T02:38:47.876Z","0.0.1-alpha.4":"2025-12-31T17:13:25.827Z","0.0.1-alpha.5":"2026-01-05T09:29:26.487Z","0.0.1-alpha.6":"2026-01-06T03:57:29.708Z","0.0.1-alpha.7":"2026-01-21T15:06:34.172Z","0.0.1-alpha.8":"2026-01-26T03:18:27.688Z","0.0.1-alpha.9":"2026-01-28T09:37:58.860Z","0.0.1-alpha.10":"2026-02-05T17:47:53.716Z","0.0.1-alpha.11":"2026-07-01T08:26:26.647Z"},"bugs":{"url":"https://github.com/142vip/core-x/issues"},"author":{"name":"mmdapl","email":"mmdapl@163.com"},"license":"MIT","homepage":"https://142vip.github.io/core-x/packages/nest/","keywords":["公众号搜：储凡","142vip","@142vip","@142vip/nest","nest"],"repository":{"type":"git","url":"git+https://github.com/142vip/core-x.git","directory":"packages/nest"},"description":"Nest.js框架基础模块，管理生产、开发依赖","maintainers":[{"name":"mmdapl","email":"2237221210@qq.com"}],"readme":"# @142vip/nest\n\n[![NPM version](https://img.shields.io/npm/v/@142vip/nest?labelColor=0b3d52&color=1da469&label=version)](https://www.npmjs.com/package/@142vip/nest)\n\n全面拥抱 [NEST.JS V11.1.8](https://docs.nestjs.com/) 框架，提供常用的响应格式化、数据转换、全局异常处理等功能模块。\n\n## 功能特性\n\n- 📦 **响应格式化**：统一的 `API` 响应格式和 `Swagger` 文档生成\n- 🔄 **数据转换**：丰富的数据转换装饰器，简化数据处理\n- 🎯 **全局异常处理**：统一的异常处理机制\n- 📋 **响应拦截器**：自动格式化 API 响应\n- 📊 **分页支持**：内置分页数据结构和转换\n- 🔗 **传播拦截器**：跨请求上下文信息传递\n- 🎨 **Swagger 集成**：自动生成标准的 API 文档\n\n## 安装\n\n```shell\n# npm\nnpm install @142vip/nest\n\n# pnpm\npnpm i @142vip/nest\n\n# yarn\nyarn add @142vip/nest\n```\n\n## 核心功能\n\n### 1. 响应格式化装饰器\n\n提供统一的 API 响应格式和 Swagger 文档生成。\n\n#### 主要装饰器\n\n- `ApiResponseObject<T>(?)`: 单个对象响应\n- `ApiResponseList<T>(?)`: 数组响应\n- `ApiResponsePagination<T>(?)`: 分页响应\n- `ApiResponseNull()`: 空响应\n- `ApiResponseSkip()`: 跳过响应拦截器\n\n#### 使用示例\n\n```typescript\nimport { ApiResponseList, ApiResponseObject, ApiResponsePagination } from '@142vip/nest'\nimport { Controller, Get } from '@nestjs/common'\nimport { UserDto } from './dto/user.dto'\n\n@Controller('users')\nexport class UserController {\n  @Get(':id')\n  @ApiResponseObject(UserDto)\n  async getUser() {\n    return { id: 1, name: 'John Doe' }\n  }\n\n  @Get()\n  @ApiResponseList(UserDto)\n  async getUsers() {\n    return [{ id: 1, name: 'John Doe' }, { id: 2, name: 'Jane Doe' }]\n  }\n\n  @Get('/paginated')\n  @ApiResponsePagination(UserDto)\n  async getPaginatedUsers() {\n    return {\n      list: [{ id: 1, name: 'John Doe' }, { id: 2, name: 'Jane Doe' }],\n      pageNum: 1,\n      pageSize: 10,\n      total: 2,\n      pageCount: 1\n    }\n  }\n}\n```\n\n### 2. 数据转换装饰器\n\n提供丰富的数据转换装饰器，简化数据处理和验证。\n\n#### 字符串处理装饰器\n\n- `Trim`: 去除字符串首尾空格\n- `StrDesensitize`: 数据脱敏（手机号、API key等）\n- `TransformUriPath`: 标准化路径，移除前导斜杠\n- `DtoDecodeURI`: 解码URI参数\n\n#### 类型转换装饰器\n\n- `TransformToBoolean`: 转换为布尔值\n- `TransformToNumber`: 转换为数字\n- `TransformToNumberArray`: 转换为数字数组\n- `TransformToStringArray`: 转换为字符串数组\n- `TransformToStringAndNumberArray`: 转换为字符串和数字混合数组\n- `DtoTransformToBoolean`: DTO专用布尔值转换\n\n#### 默认值装饰器\n\n- `DefaultValue(value)`: 设置默认值（当值为null时生效）\n\n#### 使用示例\n\n```typescript\nimport {\n  DefaultValue,\n  StrDesensitize,\n  TransformToBoolean,\n  TransformToNumber,\n  TransformToNumberArray,\n  Trim\n} from '@142vip/nest'\nimport { IsArray, IsNumber, IsString } from 'class-validator'\n\nexport class UserDto {\n  @IsString()\n  @Trim()\n  name: string\n\n  @IsNumber()\n  @DefaultValue(18)\n  age: number\n\n  @IsString()\n  @StrDesensitize()\n  phone: string\n\n  @IsNumber()\n  @TransformToNumber()\n  userId: number\n\n  @TransformToBoolean()\n  isActive: boolean\n\n  @IsArray()\n  @TransformToNumberArray()\n  roleIds: number[]\n}\n```\n\n### 3. 响应DTO\n\n提供标准化的响应数据结构。\n\n#### 主要DTO\n\n- `ResponseVo<T>`: 基础响应结构\n- `ResponseSuccessVo<T>`: 成功响应\n- `ResponseErrorVo<T>`: 错误响应\n- `PaginationVo<T>`: 分页响应\n\n#### 结构示例\n\n- 对象\n```json5\n{\n  \"success\": true,\n  \"data\": []\n}\n```\n- 数组\n```json5\n{\n  \"success\": true,\n  \"data\": {\n    \"id\": 1,\n    \"name\": \"John Doe\"\n  }\n}\n```\n- 分页数组\n```json5\n{\n  \"success\": true,\n  \"data\": {\n    \"list\": [{ \"id\": 1, \"name\": \"John Doe\" }],\n    \"pageNum\": 1,\n    \"pageSize\": 10,\n    \"total\": 1,\n    \"pageCount\": 1\n  }\n}\n```\n- 空响应\n```json5\n{\n  \"success\": true\n}\n```\n\n### 4. 全局过滤器\n\n统一的异常处理机制，捕获并格式化所有异常。\n\n#### 配置示例\n\n```typescript\nimport { GlobalFilter } from '@142vip/nest'\nimport { NestFactory } from '@nestjs/core'\nimport { AppModule } from './app.module'\n\nasync function bootstrap() {\n  const app = await NestFactory.create(AppModule)\n  app.useGlobalFilters(new GlobalFilter())\n  await app.listen(3000)\n}\nbootstrap()\n```\n\n### 5. 响应拦截器\n\n自动格式化 API 响应，支持响应类型转换和分页数据处理。\n\n#### 配置示例\n\n```typescript\nimport { ResponseInterceptor } from '@142vip/nest'\nimport { NestFactory } from '@nestjs/core'\nimport { AppModule } from './app.module'\n\nasync function bootstrap() {\n  const app = await NestFactory.create(AppModule)\n  app.useGlobalInterceptors(new ResponseInterceptor())\n  await app.listen(3000)\n}\nbootstrap()\n```\n\n### 6. 传播拦截器\n\n跨请求上下文信息传递，支持 HTTP、WebSocket 和 RPC 请求。\n\n#### 配置示例\n\n```typescript\nimport { PropagationInterceptor } from '@142vip/nest'\nimport { NestFactory } from '@nestjs/core'\nimport { AppModule } from './app.module'\n\nasync function bootstrap() {\n  const app = await NestFactory.create(AppModule)\n  app.useGlobalInterceptors(new PropagationInterceptor())\n  await app.listen(3000)\n}\nbootstrap()\n```\n\n#### 使用场景\n\n- 请求 ID 传递\n- 用户认证信息传递\n- 日志上下文追踪\n- 跨服务请求链追踪\n\n## 完整示例\n\n### 完整模块配置\n\n```typescript\nimport { GlobalFilter, PropagationInterceptor, ResponseInterceptor } from '@142vip/nest'\nimport { Module } from '@nestjs/common'\nimport { APP_FILTER, APP_INTERCEPTOR } from '@nestjs/core'\nimport { UserController } from './user.controller'\nimport { UserService } from './user.service'\n\n@Module({\n  imports: [],\n  controllers: [UserController],\n  providers: [\n    UserService,\n    {\n      provide: APP_FILTER,\n      useClass: GlobalFilter,\n    },\n    {\n      provide: APP_INTERCEPTOR,\n      useClass: ResponseInterceptor,\n    },\n    {\n      provide: APP_INTERCEPTOR,\n      useClass: PropagationInterceptor,\n    },\n  ],\n})\nexport class AppModule {}\n```\n\n### 控制器与服务示例\n\n```typescript\nimport {\n  ApiResponseList,\n  ApiResponseObject,\n  ApiResponsePagination,\n  DefaultValue,\n  PaginationVo,\n  StrDesensitize,\n  TransformToNumber,\n  Trim\n} from '@142vip/nest'\nimport {\n  Body,\n  Controller,\n  Get,\n  Injectable,\n  Post,\n  Query\n} from '@nestjs/common'\nimport { IsNumber, IsOptional, IsString } from 'class-validator'\nimport { UserService } from './user.service'\n\n// 请求 DTO 示例\nclass CreateUserDto {\n  @IsString()\n  @Trim()\n  name: string\n\n  @IsNumber()\n  @DefaultValue(18)\n  age: number\n\n  @IsString()\n  @StrDesensitize()\n  phone: string\n}\n\n// 查询 DTO 示例\nclass GetUsersQuery {\n  @IsOptional()\n  @IsNumber()\n  @TransformToNumber()\n  pageNum?: number\n\n  @IsOptional()\n  @IsNumber()\n  @TransformToNumber()\n  pageSize?: number\n}\n\n// 响应 VO 示例\nclass UserVo {\n  id: number\n  name: string\n  age: number\n  phone: string\n  createdAt: Date\n}\n\n@Controller('users')\nexport class UserController {\n  constructor(private readonly userService: UserService) {}\n\n  @Get(':id')\n  @ApiResponseObject(UserVo)\n  async getUser() {\n    return this.userService.findById(1)\n  }\n\n  @Get()\n  @ApiResponseList(UserVo)\n  async getUsers() {\n    return this.userService.findAll()\n  }\n\n  @Get('/paginated')\n  @ApiResponsePagination(UserVo)\n  async getPaginatedUsers(@Query() query: GetUsersQuery) {\n    return this.userService.findPaginated(query.pageNum || 1, query.pageSize || 10)\n  }\n\n  @Post()\n  @ApiResponseObject(UserVo)\n  async createUser(@Body() user: CreateUserDto) {\n    return this.userService.create(user)\n  }\n}\n```\n\n## 参考资料\n\n- 官方文档：<https://docs.nestjs.com/>\n- 中文文档：<https://nest.nodejs.cn/>\n\n## 证书\n\n[MIT](https://opensource.org/license/MIT)\n\nCopyright (c) 2019-present, @142vip 储凡\n\n**仅供学习参考，商业使用请保留作者版权信息，作者不保证也不承担任何软件的使用风险。**\n","readmeFilename":"README.md"}