{"_id":"@comity/router-path-to-regexp","name":"@comity/router-path-to-regexp","dist-tags":{"latest":"0.9.0"},"versions":{"0.9.0":{"name":"@comity/router-path-to-regexp","version":"0.9.0","description":"path-to-regexp adapter for Comity applications.","type":"module","private":false,"author":{"name":"Filippo Bovo","email":"hello@filippobovo.com"},"license":"MIT","comity":{"layer":"technology-adapter","implements":"@comity/router"},"homepage":"https://github.com/comityjs/framework#readme","repository":{"type":"git","url":"git+https://github.com/comityjs/framework.git"},"bugs":{"url":"https://github.com/comityjs/framework/issues"},"engines":{"node":">=24.0.0"},"keywords":["comity","comityjs","adapter","framework","path-to-regexp","router","routing","typescript"],"main":"./dist/cjs/index.js","module":"./dist/esm/index.js","types":"./dist/types/index.d.ts","exports":{".":{"import":{"types":"./dist/types/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/types/index.d.ts","default":"./dist/cjs/index.js"}},"./package.json":"./package.json"},"publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"sideEffects":false,"peerDependencies":{"path-to-regexp":"^8.0.0","@comity/router":"0.9.0"},"dependencies":{"@comity/router":"0.9.0"},"devDependencies":{"@types/node":"^24.13.4","path-to-regexp":"^8.4.2","typescript":"^5.9.3"},"scripts":{"build":"node ../../scripts/build.mjs","dev":"node ../../scripts/build.mjs --watch","test":"vitest run --coverage","type-check":"tsc -p tsconfig.json --noEmit","lint":"eslint --ext .ts src"},"_id":"@comity/router-path-to-regexp@0.9.0","_integrity":"sha512-LtvcZmxbbN2FvAGZGxNzWQnYg5NC/HcweIn9oJZm2L5uB1Pw6bxfrODLRiqDVyi9qE9qV+fSxaya1WoCljN3yw==","_resolved":"/private/var/folders/6m/wjht2f1921b2rrdyxgrkq_kw0000gn/T/c91c4092fbecbd9daf1930c89d2f1ad3/comity-router-path-to-regexp-0.9.0.tgz","_from":"file:comity-router-path-to-regexp-0.9.0.tgz","_nodeVersion":"24.19.0","_npmVersion":"11.17.0","dist":{"integrity":"sha512-LtvcZmxbbN2FvAGZGxNzWQnYg5NC/HcweIn9oJZm2L5uB1Pw6bxfrODLRiqDVyi9qE9qV+fSxaya1WoCljN3yw==","shasum":"3a1f4168d475e0c597c289ab8c250739e8916d19","tarball":"https://registry.npmjs.org/@comity/router-path-to-regexp/-/router-path-to-regexp-0.9.0.tgz","fileCount":12,"unpackedSize":8647,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIG0tLTjmTSix4seufj6u4zw30SPxR7KWkq8z4OFkzWm1AiEA1bOzZMwxSOHxyXh8Vv+cGPoJPi49JacBP/W0rP6nl9U="}]},"_npmUser":{"name":"hobot","email":"robot@hobiri.com"},"directories":{},"maintainers":[{"name":"fbovo","email":"rudehero@gmail.com"},{"name":"hobot","email":"robot@hobiri.com"},{"name":"pirosauro","email":"accounts@filippobovo.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/router-path-to-regexp_0.9.0_1789041019574_0.49588995232270494"},"_hasShrinkwrap":false}},"time":{"created":"2026-09-10T11:50:19.360Z","0.9.0":"2026-09-10T11:50:19.713Z","modified":"2026-09-10T11:50:19.971Z"},"maintainers":[{"name":"fbovo","email":"rudehero@gmail.com"},{"name":"hobot","email":"robot@hobiri.com"},{"name":"pirosauro","email":"accounts@filippobovo.com"}],"description":"path-to-regexp adapter for Comity applications.","homepage":"https://github.com/comityjs/framework#readme","keywords":["comity","comityjs","adapter","framework","path-to-regexp","router","routing","typescript"],"repository":{"type":"git","url":"git+https://github.com/comityjs/framework.git"},"author":{"name":"Filippo Bovo","email":"hello@filippobovo.com"},"bugs":{"url":"https://github.com/comityjs/framework/issues"},"license":"MIT","readme":"# @comity/router-path-to-regexp\n\nPath-to-regexp router implementation for Comity.\n\n---\n\n## Purpose\n\nProvides a router implementation that uses `path-to-regexp` while conforming to the `@comity/router` contracts.\n\n---\n\n## Scope\n\nThis package:\n\n- ✅ implements `PathRouter`\n- ✅ adapts routing behavior to `@comity/router`\n\nThis package does NOT:\n\n- ❌ redefine router contracts\n- ❌ own application routing policy\n- ❌ render HTTP responses\n\n---\n\n## Public API\n\n- `PathRouter`\n\n\nNo exhaustive reference; see docs for constraints.\n---\n\n## Documentation\n\n- docs/overview.md\n- docs/conventions.md\n\n---\n\n## Related Packages\n\n- @comity/router\n- @comity/http\n\n---\n\n## Status\n\nStable\n\n_Review Completed: 2026-07-25_\n_Reviewer: Hobiri MAGI (DeepSeek v4 Pro)_\n_Compliance Score: 99.5% (Green)_\n","readmeFilename":"README.md","_rev":"1-0f6eacdb3c4941b053312184acf3d2f5"}