{"_id":"@aspectjs/nestjs","_rev":"5-a37df49dc11d1ad777a3d8eeb775a2b4","name":"@aspectjs/nestjs","dist-tags":{"latest":"0.5.4"},"versions":{"0.4.3":{"name":"@aspectjs/nestjs","version":"0.4.3","author":{"name":"Nicolas Thierion","email":"nicolas.thierion@outlook.com"},"license":"MIT","_id":"@aspectjs/nestjs@0.4.3","maintainers":[{"name":"nicolas.thierion","email":"nicolas.thierion@outlook.com"}],"homepage":"https://aspectjs.gitlab.io/","bugs":{"url":"https://github.com/NicolasThierion/aspectjs/issues"},"dist":{"shasum":"acfd40415ff3a9045cf06dd3ec2253e5ec6962db","tarball":"https://registry.npmjs.org/@aspectjs/nestjs/-/nestjs-0.4.3.tgz","fileCount":42,"integrity":"sha512-IZosJEO26AtDj2VJ3SuHAWQJMcWuHi123pJXMiz3tg1ZudhHUIaidRzo/ZY1XjgZA7n2mlHpqnH266ODijXjIg==","signatures":[{"sig":"MEUCIAJ0iTAbWSdKo5gllrQRsWVigrUz1SDek3oEWmpp2SFUAiEAlmYuha2sFcE4he7pgoJP80X4PfrcB245VCSUa7iTT4E=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":143406},"main":"./cjs/nestjs.cjs","type":"module","module":"./fesm2020/nestjs.mjs","exports":{".":{"node":"./cjs/nestjs.cjs","types":"./index.d.ts","es2020":"./fesm2020/nestjs.mjs","default":"./cjs/nestjs.cjs","esm2020":"./esm2020/nestjs.mjs","require":"./cjs/nestjs.cjs"},"./common":{"node":"./cjs/common.cjs","types":"./common/index.d.ts","es2020":"./fesm2020/common.mjs","default":"./cjs/common.cjs","esm2020":"./esm2020/index.js","require":"./cjs/common.cjs"},"./package.json":{"default":"./package.json"}},"gitHead":"61738449d10987ba335383c67c0c1b7ff6571d26","scripts":{"lint":"eslint \"*/**/*.{ts,js,json}\" --fix","test":"npm run test:lint && npm run test:unit","build":"rollup --config ./rollup.config.cjs && npm run build:common","clean":"rimraf dist && rimraf ./*.tgz","test:lint":"eslint \"src/**/*.{ts,js,json}\"","test:unit":"npm run clean && jest --runInBand --passWithNoTests","build:common":"rollup --config ./common/rollup.config.cjs"},"_npmUser":{"name":"nicolas.thierion","email":"nicolas.thierion@outlook.com"},"repository":{"url":"git+https://github.com/NicolasThierion/aspectjs.git","type":"git","directory":"packages/nestjs"},"_npmVersion":"10.8.2","description":"Compatibility package to leverage AspectJS with NestJS decorators","directories":{},"sideEffects":false,"_nodeVersion":"22.8.0","_hasShrinkwrap":false,"devDependencies":{"@nestjs/core":"^10.0.0","@nestjs/common":"^10.0.0","@nestjs/platform-express":"^10.0.0"},"peerDependencies":{"@aspectjs/core":"^0.4.3","@aspectjs/common":"^0.4.3"},"optionalDependencies":{"@nestjs/core":"^10.0.0","@nestjs/common":"^10.0.0","@nestjs/platform-express":"^10.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nestjs_0.4.3_1726541250538_0.49501200399280765","host":"s3://npm-registry-packages"}},"0.5.0":{"name":"@aspectjs/nestjs","version":"0.5.0","author":{"name":"Nicolas Thierion","email":"nicolas.thierion@outlook.com"},"license":"MIT","_id":"@aspectjs/nestjs@0.5.0","maintainers":[{"name":"nicolas.thierion","email":"nicolas.thierion@outlook.com"}],"homepage":"https://aspectjs.gitlab.io/","bugs":{"url":"https://github.com/NicolasThierion/aspectjs/issues"},"dist":{"shasum":"c05008cd116b14ea08f17494ab19957e1dd527e5","tarball":"https://registry.npmjs.org/@aspectjs/nestjs/-/nestjs-0.5.0.tgz","fileCount":44,"integrity":"sha512-aAVzLLlyQNPffaqjMMxcNcxWRmlSU6LriOQNfHjqxzqnBvbbKDn38m45+DJjXMc+66rmP1tK6JyKQh2XduGf+g==","signatures":[{"sig":"MEUCIFaHf0trEBvmZM3X7buCDS5yHnJTJuLRZ7M17VAxBIa4AiEA/5py/ZqcoFIw7YfDc9eBrb2bHnxBfrzMllMdutwLgWM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":29936},"main":"./cjs/index.cjs","type":"module","types":"./index.d.ts","module":"./esm2020/index.mjs","exports":{".":{"esm":"./esm2020/index.mjs","node":"./cjs/index.cjs","types":"./index.d.ts","unpkg":"./umd/nestjs.umd.min.js","esm2020":"./esm2020/index.mjs","require":"./cjs/index.cjs"},"./common":{"esm":"./esm2020/common/index.mjs","node":"./cjs/common/index.cjs","types":"./common/index.d.ts","unpkg":"./umd/common.umd.min.js","esm2020":"./esm2020/common/index.mjs","require":"./cjs/common/index.cjs"},"./common/register":{"esm":"./esm2020/common/register/index.mjs","node":"./cjs/common/register/index.cjs","types":"./common/register/index.d.ts","esm2020":"./esm2020/common/register/index.mjs","require":"./cjs/common/register/index.cjs"}},"gitHead":"5b6840ecbb82406ec37a4897b78ff668d401dc3c","scripts":{"lint":"eslint \"*/**/*.{ts,js,json}\" --fix","pack":"npm pack ./dist","test":"npm run test:lint && npm run test:unit","build":"rollup --config ./rollup.config.cjs","clean":"rimraf dist && rimraf ./*.tgz","test:lint":"eslint \"src/**/*.{ts,js,json}\"","test:unit":"npm run clean && jest --runInBand --passWithNoTests"},"_npmUser":{"name":"nicolas.thierion","email":"nicolas.thierion@outlook.com"},"repository":{"url":"git+https://github.com/NicolasThierion/aspectjs.git","type":"git","directory":"packages/nestjs"},"_npmVersion":"10.8.2","description":"Compatibility package to leverage AspectJS with NestJS decorators","directories":{},"sideEffects":false,"_nodeVersion":"20.17.0","_hasShrinkwrap":false,"devDependencies":{"@nestjs/core":"^10.0.0","@nestjs/common":"^10.0.0","@nestjs/platform-express":"^10.0.0"},"peerDependencies":{"@aspectjs/core":"^0.5.0","@aspectjs/common":"^0.5.0"},"optionalDependencies":{"@nestjs/core":"^10.0.0","@nestjs/common":"^10.0.0","@nestjs/platform-express":"^10.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nestjs_0.5.0_1727101399534_0.24345972411719963","host":"s3://npm-registry-packages"}},"0.5.1":{"name":"@aspectjs/nestjs","version":"0.5.1","author":{"name":"Nicolas Thierion","email":"nicolas.thierion@outlook.com"},"license":"MIT","_id":"@aspectjs/nestjs@0.5.1","maintainers":[{"name":"nicolas.thierion","email":"nicolas.thierion@outlook.com"}],"homepage":"https://aspectjs.gitlab.io/","bugs":{"url":"https://github.com/NicolasThierion/aspectjs/issues"},"dist":{"shasum":"f51db74f8ab5d23580e6a0427f4113323cde9da7","tarball":"https://registry.npmjs.org/@aspectjs/nestjs/-/nestjs-0.5.1.tgz","fileCount":44,"integrity":"sha512-LjwW0j2+BZarh1tiWBf41kYFvqiXHTxOEzTqRwxNHglEmVJBuBlWlfIf0mTxo7+vyQ8GZ0F07gJgwrPaqbR5vA==","signatures":[{"sig":"MEUCIHnFUsuD/JGAjf2aAj7QG3EYrsU1SRLIzkh/T1MUH0S8AiEA2AvsFukLLko0AOjjN06M80y94sRP6IAV93lLCfixLrY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":29936},"main":"./cjs/index.cjs","type":"module","types":"./index.d.ts","module":"./esm2020/index.mjs","exports":{".":{"esm":"./esm2020/index.mjs","node":"./cjs/index.cjs","types":"./index.d.ts","unpkg":"./umd/nestjs.umd.min.js","esm2020":"./esm2020/index.mjs","require":"./cjs/index.cjs"},"./common":{"esm":"./esm2020/common/index.mjs","node":"./cjs/common/index.cjs","types":"./common/index.d.ts","unpkg":"./umd/common.umd.min.js","esm2020":"./esm2020/common/index.mjs","require":"./cjs/common/index.cjs"},"./common/register":{"esm":"./esm2020/common/register/index.mjs","node":"./cjs/common/register/index.cjs","types":"./common/register/index.d.ts","esm2020":"./esm2020/common/register/index.mjs","require":"./cjs/common/register/index.cjs"}},"gitHead":"549466bc6bea578e1b485b8db76eb134e2afee2c","scripts":{"lint":"eslint \"*/**/*.{ts,js,json}\" --fix","pack":"npm pack ./dist","test":"npm run test:lint && npm run test:unit","build":"rollup --config ./rollup.config.cjs","clean":"rimraf dist && rimraf ./*.tgz","test:lint":"eslint \"src/**/*.{ts,js,json}\"","test:unit":"npm run clean && jest --runInBand --passWithNoTests"},"_npmUser":{"name":"nicolas.thierion","email":"nicolas.thierion@outlook.com"},"repository":{"url":"git+https://github.com/NicolasThierion/aspectjs.git","type":"git","directory":"packages/nestjs"},"_npmVersion":"10.8.2","description":"Compatibility package to leverage AspectJS with NestJS decorators","directories":{},"sideEffects":false,"_nodeVersion":"20.17.0","_hasShrinkwrap":false,"devDependencies":{"@nestjs/core":"^10.0.0","@nestjs/common":"^10.0.0","@nestjs/platform-express":"^10.0.0"},"peerDependencies":{"@aspectjs/core":"^0.5.1","@aspectjs/common":"^0.5.1"},"optionalDependencies":{"@nestjs/core":"^10.0.0","@nestjs/common":"^10.0.0","@nestjs/platform-express":"^10.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nestjs_0.5.1_1727101807297_0.8895988841745848","host":"s3://npm-registry-packages"}},"0.5.3":{"name":"@aspectjs/nestjs","version":"0.5.3","author":{"name":"Nicolas Thierion","email":"nicolas.thierion@outlook.com"},"license":"MIT","_id":"@aspectjs/nestjs@0.5.3","maintainers":[{"name":"nicolas.thierion","email":"nicolas.thierion@outlook.com"}],"homepage":"https://aspectjs.gitlab.io/","bugs":{"url":"https://github.com/NicolasThierion/aspectjs/issues"},"dist":{"shasum":"a50b8742653a6fde22d1fcf6622223f038d00ee1","tarball":"https://registry.npmjs.org/@aspectjs/nestjs/-/nestjs-0.5.3.tgz","fileCount":46,"integrity":"sha512-znf8s8W1gICtJiUUzEV0QMpQ6RKJU5KBzNyxr74jj9BRQp9DXE5B7SVgez64AXkongG8UW3z+OFLCcK3YCtUQQ==","signatures":[{"sig":"MEUCIDChO/XWnuvNPJcC6ZZ0kgdXXm1uMhAu1ANQKUhmSuHRAiEAiIlU4i6ctrcaXBTqyst1Ip72CF+cbURBYQxs20SUenY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36781},"main":"./cjs/index.cjs","type":"module","types":"./index.d.ts","module":"./esm2020/index.mjs","exports":{".":{"esm":"./esm2020/index.mjs","node":"./cjs/index.cjs","types":"./index.d.ts","unpkg":"./umd/nestjs.umd.min.js","esm2020":"./esm2020/index.mjs","require":"./cjs/index.cjs"},"./common":{"esm":"./esm2020/common/index.mjs","node":"./cjs/common/index.cjs","types":"./common/index.d.ts","unpkg":"./umd/common.umd.min.js","esm2020":"./esm2020/common/index.mjs","require":"./cjs/common/index.cjs"},"./common/register":{"esm":"./esm2020/common/register/index.mjs","node":"./cjs/common/register/index.cjs","types":"./common/register/index.d.ts","esm2020":"./esm2020/common/register/index.mjs","require":"./cjs/common/register/index.cjs"}},"gitHead":"4193db44fcf13ae93c1ac5a18969c354d42cc679","scripts":{"lint":"eslint \"*/**/*.{ts,js,json}\" --fix","pack":"npm pack ./dist","test":"npm run test:lint && npm run test:unit","build":"rollup --config ./rollup.config.cjs","clean":"rimraf dist && rimraf ./*.tgz","test:lint":"eslint \"src/**/*.{ts,js,json}\"","test:unit":"npm run clean && jest --runInBand --passWithNoTests"},"_npmUser":{"name":"nicolas.thierion","email":"nicolas.thierion@outlook.com"},"repository":{"url":"git+https://github.com/NicolasThierion/aspectjs.git","type":"git","directory":"packages/nestjs"},"_npmVersion":"10.8.2","description":"Compatibility package to leverage AspectJS with NestJS decorators","directories":{},"sideEffects":false,"_nodeVersion":"20.17.0","_hasShrinkwrap":false,"devDependencies":{"@nestjs/core":"^10.0.0","@nestjs/common":"^10.0.0","@nestjs/platform-express":"^10.0.0"},"peerDependencies":{"@aspectjs/core":"^0.5.3","@aspectjs/common":"^0.5.3"},"optionalDependencies":{"@nestjs/core":"^10.0.0","@nestjs/common":"^10.0.0","@nestjs/platform-express":"^10.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nestjs_0.5.3_1727187624022_0.9502467696260468","host":"s3://npm-registry-packages"}},"0.5.4":{"name":"@aspectjs/nestjs","version":"0.5.4","description":"Compatibility package to leverage AspectJS with NestJS decorators","repository":{"type":"git","url":"git+https://github.com/NicolasThierion/aspectjs.git","directory":"packages/nestjs"},"scripts":{"test":"npm run test:lint && npm run test:unit","test:lint":"eslint \"src/**/*.{ts,js,json}\"","test:unit":"npm run clean && jest --runInBand --passWithNoTests","pack":"npm pack ./dist","lint":"eslint \"*/**/*.{ts,js,json}\" --fix","build":"rollup --config ./rollup.config.cjs","clean":"rimraf dist && rimraf ./*.tgz"},"author":{"name":"Nicolas Thierion","email":"nicolas.thierion@outlook.com"},"license":"MIT","bugs":{"url":"https://github.com/NicolasThierion/aspectjs/issues"},"homepage":"https://aspectjs.gitlab.io/","type":"module","sideEffects":false,"exports":{".":{"types":"./index.d.ts","esm2020":"./esm2020/index.mjs","esm":"./esm2020/index.mjs","node":"./cjs/index.cjs","require":"./cjs/index.cjs","unpkg":"./umd/nestjs.umd.min.js"},"./common":{"types":"./common/index.d.ts","esm2020":"./esm2020/common/index.mjs","esm":"./esm2020/common/index.mjs","node":"./cjs/common/index.cjs","require":"./cjs/common/index.cjs","unpkg":"./umd/common.umd.min.js"},"./common/register":{"types":"./common/register/index.d.ts","esm2020":"./esm2020/common/register/index.mjs","esm":"./esm2020/common/register/index.mjs","node":"./cjs/common/register/index.cjs","require":"./cjs/common/register/index.cjs"}},"module":"./esm2020/index.mjs","types":"./index.d.ts","main":"./cjs/index.cjs","optionalDependencies":{"@nestjs/common":"^10.0.0","@nestjs/core":"^10.0.0","@nestjs/platform-express":"^10.0.0"},"peerDependencies":{"@aspectjs/common":"^0.5.4","@aspectjs/core":"^0.5.4"},"devDependencies":{"@nestjs/common":"^10.0.0","@nestjs/core":"^10.0.0","@nestjs/platform-express":"^10.0.0"},"_id":"@aspectjs/nestjs@0.5.4","gitHead":"dda0d35f73d111072855a9ac284f2a6119d361c9","_nodeVersion":"23.11.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-j4SwZLacV4gvbL+ZhfBJ920638+i1EdxriMYqQEkRG3VUd4DDBkPn2b6nLYP7mQvnhbpDQ9FgZkmVmEWQYqXQg==","shasum":"402df9499be1a750c06334136b5097e475b2b310","tarball":"https://registry.npmjs.org/@aspectjs/nestjs/-/nestjs-0.5.4.tgz","fileCount":47,"unpackedSize":464017,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCICnF+I+BT5ugfVeYPin9S6oioXjoml5/MuDb/lzYmC+FAiBTi0ZkibeZL/o2JM+TK72qnOChTLH2U18UCKvOLJHNKQ=="}]},"_npmUser":{"name":"nicolas.thierion","email":"nicolas.thierion@outlook.com"},"directories":{},"maintainers":[{"name":"nicolas.thierion","email":"nicolas.thierion@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/nestjs_0.5.4_1744407510354_0.5717726036479176"},"_hasShrinkwrap":false}},"time":{"created":"2024-09-17T02:47:30.411Z","modified":"2025-04-11T21:38:30.778Z","0.4.3":"2024-09-17T02:47:30.752Z","0.5.0":"2024-09-23T14:23:19.734Z","0.5.1":"2024-09-23T14:30:07.499Z","0.5.3":"2024-09-24T14:20:24.216Z","0.5.4":"2025-04-11T21:38:30.602Z"},"bugs":{"url":"https://github.com/NicolasThierion/aspectjs/issues"},"author":{"name":"Nicolas Thierion","email":"nicolas.thierion@outlook.com"},"license":"MIT","homepage":"https://aspectjs.gitlab.io/","repository":{"type":"git","url":"git+https://github.com/NicolasThierion/aspectjs.git","directory":"packages/nestjs"},"description":"Compatibility package to leverage AspectJS with NestJS decorators","maintainers":[{"name":"nicolas.thierion","email":"nicolas.thierion@outlook.com"}],"readme":"# @aspectjs/nestjs\n\n## 💡 Why ?\n\nNestJS heavily relies on [experimental decorators](https://github.com/tc39/proposal-decorators) to provide a clean and modern design architecture based on AOP.  \nThis package offers a conversion of some NestJS decorators into **AspectJS annotations**, allowing you to repurpose these annotations with external aspects.\n\nBy themselves, the annotations do nothing, but they require the activation of third-party aspects to introduce actual behavior.\n\n## ⚙️ Installation\n\n```bash\nnpm i @aspectjs/nestjs\n```\n\n## 📜 Documentation\n\n### `@aspectjs/nestjs/common`\n\nThis package binds the following annotations from `@nestjs/common`: \n\n| Annotation      |\n|-----------------|\n| `Body()`        |\n| `Delete()`      |\n| `Get()`         |\n| `Head()`        |\n| `Header()`      |\n| `Headers()`     |\n| `Injectable()`  |\n| `Options()`     |\n| `Param()`       |\n| `Patch()`       |\n| `Post()`        |\n| `Put()`         |\n| `Query()`       |","readmeFilename":"README.md"}