{"_id":"@aymenkits/review-express","name":"@aymenkits/review-express","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@aymenkits/review-express","version":"1.0.0","description":"Express 4/5 handlers for the review endpoints: submit, list, aggregate, edit, reply, report. Structural req/res typing, envelope-agnostic, auth-agnostic (getUserId seam).","license":"MIT","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsc -p tsconfig.json","typecheck":"tsc -p tsconfig.json --noEmit"},"dependencies":{"@aymenkits/review-core":"1.0.0"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/aymenmokhtarikouki/review-kit.git","directory":"packages/express"},"keywords":["reviews","ratings","bayesian","moderation","marketplace","express"],"engines":{"node":">=18"},"sideEffects":false,"homepage":"https://github.com/aymenmokhtarikouki/review-kit#readme","bugs":{"url":"https://github.com/aymenmokhtarikouki/review-kit/issues"},"author":{"name":"Aymen Mokhtari"},"_id":"@aymenkits/review-express@1.0.0","gitHead":"7bec3ca2aea0218ba4e85ff23af3ffa08772bfa5","_nodeVersion":"22.14.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-MCzAM5Q+zByEaaRYvx4skI8aXjRKwjBXYJj64OZuexUQt5THAyoz1X6oarUe48F7+M7mKkBqhNCCwEu0FYtwpQ==","shasum":"ef9286a244a0665015343aea0cc6c78dfde3eb20","tarball":"https://registry.npmjs.org/@aymenkits/review-express/-/review-express-1.0.0.tgz","fileCount":7,"unpackedSize":20236,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIF00Y9wfq3qGBLzVwJko/pBGBmbUtsKuQTJQQAbWENSVAiALZgFWS0InTwdgI7N+oftegepkTml9KHARU1Am1bORoQ=="}]},"_npmUser":{"name":"aymen-mokhtari","email":"ayman.mokhtari@proton.me"},"directories":{},"maintainers":[{"name":"aymen-mokhtari","email":"ayman.mokhtari@proton.me"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/review-express_1.0.0_1783791529116_0.12585079962134094"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-11T17:38:48.963Z","1.0.0":"2026-07-11T17:38:49.258Z","modified":"2026-07-11T17:38:49.473Z"},"maintainers":[{"name":"aymen-mokhtari","email":"ayman.mokhtari@proton.me"}],"description":"Express 4/5 handlers for the review endpoints: submit, list, aggregate, edit, reply, report. Structural req/res typing, envelope-agnostic, auth-agnostic (getUserId seam).","homepage":"https://github.com/aymenmokhtarikouki/review-kit#readme","keywords":["reviews","ratings","bayesian","moderation","marketplace","express"],"repository":{"type":"git","url":"git+https://github.com/aymenmokhtarikouki/review-kit.git","directory":"packages/express"},"author":{"name":"Aymen Mokhtari"},"bugs":{"url":"https://github.com/aymenmokhtarikouki/review-kit/issues"},"license":"MIT","readme":"# @aymenkits/review-express\n\nExpress 4/5 handlers for the review endpoints: submit, list, aggregate, edit, reply, report. Envelope- and auth-agnostic.\n\n## Install\n\n```bash\nnpm install @aymenkits/review-express\n```\n\nInstalls with it: `@aymenkits/review-core` (automatic dependency).\n\n## You provide\n\n- Your Express router + auth middleware (reads `req.auth.userId` by default)\n\nThe package never owns tables, never imports an ORM, HTTP framework, or\nprovider SDK it can take as a parameter — storage and delivery are seams your\napp implements on its own stack.\n\n## Quick example\n\n```ts\nimport { createReviewHandlers } from '@aymenkits/review-express'\n\nconst h = createReviewHandlers(service, { wrapResponse })\nrouter.post('/reviews', requireAuth, h.submit)\n```\n\n## Pairs with\n\n- `@aymenkits/auth-express` middleware upstream\n\nKits pair **by shape, never by import** — pass the sibling kit, your own\nservice, or a stub in tests.\n\n## Docs\n\nFull contracts and integration guides live in the repo:\nhttps://github.com/aymenmokhtarikouki/review-kit (`contracts/`, `docs/`).\n\n## License\n\nMIT\n","readmeFilename":"README.md","_rev":"1-7dcd3191d7b787a4e7004f39b93f89ae"}