{"_id":"@asanovr/nestjs-common","name":"@asanovr/nestjs-common","dist-tags":{"latest":"3.0.0"},"versions":{"3.0.0":{"name":"@asanovr/nestjs-common","version":"3.0.0","description":"Common module and utility building blocks for badass NestJS applications","author":{"name":"Jesse Carter","email":"jesse.r.carter@gmail.com"},"homepage":"https://github.com/golevelup/nestjs#readme","license":"MIT","keywords":["NestJS"],"main":"lib/index.js","typings":"lib/index.d.ts","directories":{"lib":"lib","test":"__tests__"},"repository":{"type":"git","url":"git+https://github.com/asanovr/nestjs.git"},"scripts":{"build":"tsc --build tsconfig.build.json","build:watch":"tsc --build tsconfig.build.json --watch","test":"jest"},"bugs":{"url":"https://github.com/golevelup/nestjs/issues"},"publishConfig":{"access":"public"},"dependencies":{"lodash":"^4.17.21","nanoid":"^3.3.6"},"peerDependencies":{"@nestjs/common":"^10.x"},"jest":{"moduleFileExtensions":["js","json","ts"],"rootDir":"src","testRegex":".spec.ts$","transform":{"^.+\\.ts$":"ts-jest"},"coverageDirectory":"../coverage","testEnvironment":"node"},"gitHead":"83abc8861cf5f8df94b8cd39964f41ce728aff6d","_id":"@asanovr/nestjs-common@3.0.0","_nodeVersion":"16.15.1","_npmVersion":"lerna/3.22.1/node@v16.15.1+arm64 (darwin)","dist":{"integrity":"sha512-FXy8f9PGSkKcCQew8jzlfL3og/PanKUzFG2GMbjryQIG8oHqBfRtZ4twpSuWv6fNGqCBrekvM63afjwHPJAzMA==","shasum":"d273573cf67c9dd868ebb525ba364090e169f009","tarball":"https://registry.npmjs.org/@asanovr/nestjs-common/-/nestjs-common-3.0.0.tgz","fileCount":20,"unpackedSize":17021,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGQDgViPQfANuFQms8WlRzzv1/+jRuj9ktycqPL80kvSAiEA+Owz5b6I981uToMajQDHK2sWp5EW1qu/yIoxMzqxVUM="}]},"_npmUser":{"name":"asanovr","email":"bioforge91@gmail.com"},"maintainers":[{"name":"asanovr","email":"bioforge91@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nestjs-common_3.0.0_1693545915774_0.2540032649607029"},"_hasShrinkwrap":false}},"time":{"created":"2023-09-01T05:25:15.669Z","3.0.0":"2023-09-01T05:25:15.929Z","modified":"2023-09-01T05:25:16.188Z"},"maintainers":[{"name":"asanovr","email":"bioforge91@gmail.com"}],"description":"Common module and utility building blocks for badass NestJS applications","homepage":"https://github.com/golevelup/nestjs#readme","keywords":["NestJS"],"repository":{"type":"git","url":"git+https://github.com/asanovr/nestjs.git"},"author":{"name":"Jesse Carter","email":"jesse.r.carter@gmail.com"},"bugs":{"url":"https://github.com/golevelup/nestjs/issues"},"license":"MIT","readme":"# @golevelup/nestjs-common\n\n<p align=\"center\">\n<a href=\"https://www.npmjs.com/package/@golevelup/nestjs-common\"><img src=\"https://img.shields.io/npm/v/@golevelup/nestjs-common.svg?style=flat\" alt=\"version\" /></a>\n<a href=\"https://www.npmjs.com/package/@golevelup/nestjs-common\"><img alt=\"downloads\" src=\"https://img.shields.io/npm/dt/@golevelup/nestjs-common.svg?style=flat\"></a>\n<img alt=\"license\" src=\"https://img.shields.io/npm/l/@golevelup/nestjs-common.svg\">\n</p>\n\nUtility functions and low level reusable modules that provide building blocks for the @levelup-nestjs and @nestjs ecosystem.\n\n## Inject Decorator Factory (makeInjectableDecorator)\n\nCreates a decorator that can be used as a convenience to inject a specific token\n\nInstead of using `@Inject(SOME_THING_TOKEN)` this can be used to create a new named Decorator such as `@InjectSomeThing()` which will hide the token details from users making APIs easier\nto consume\n\n## Mixins\n\nThe mixin pattern is particularly useful with NestJS components like `Interceptors` as a mechanism to provide both configuration while still allowing the component to participate with Nest's `Dependency Injection`.\n\n## Contribute\n\nContributions welcome! Read the [contribution guidelines](../../CONTRIBUTING.md) first.\n\n## License\n\n[MIT License](../../LICENSE)\n","readmeFilename":"README.md"}