{"ref":"artifact:cap-handler-generator","page":"/artifacts/cap-handler-generator","json":"/artifacts/cap-handler-generator.json","generated":"2026-10-26","drafted_with_ai":true,"entity":{"id":"cap-handler-generator","name":"@cap-handler/generator","artifact_type":"generator","ecosystem":"cap","domain":"developer-experience","origin_ring":"independent","description":{"one_line":"Interactive generator for CAP event handlers: reads the model through the reflection API, asks which service, target and phase, then writes the handler file and wires the import and registration into the service implementation.","short":"Interactive generator for CAP event handler files","what_it_solves":"It covers entities, bound and unbound actions and functions, detects TypeScript or JavaScript from the project, and creates a minimal service implementation if none exists. The registration wiring is the part usually forgotten."},"links":{"npm":"https://www.npmjs.com/package/@cap-handler/generator","repo":"https://gitlab.com/schmitt-p/cap-handler-generator"},"identity":{"author":"schmitt-p","license":"MIT"},"compat":{"runtimes":["build-time"],"cds_range":">=8"},"type_properties":{"distribution":{"value":["npm"],"sources":[{"url":"https://gitlab.com/schmitt-p/cap-handler-generator","title":"@cap-handler/generator — README","checked":"2026-10-18","quote":"npm add -D @cap-handler/generator"}]},"invoked_by":{"value":["cds-add","cli"],"sources":[{"url":"https://gitlab.com/schmitt-p/cap-handler-generator","title":"@cap-handler/generator — README","checked":"2026-10-18","quote":"implementation is missing, it's scaffolded — preferably via the real `cds add handler`"},{"url":"https://gitlab.com/schmitt-p/cap-handler-generator","title":"@cap-handler/generator — README","checked":"2026-10-18","quote":"npx cap-handlers"}]},"generates":{"value":["code"],"sources":[{"url":"https://gitlab.com/schmitt-p/cap-handler-generator","title":"@cap-handler/generator — README","checked":"2026-10-18","quote":"creates the handler files and wires up the imports + registrations in the service implementation"}]}},"provides":["capability:generators"],"provenance":{"discovered_via":[{"source":"source:npm","channel":"keywords:cds"}],"first_seen":"2026-09-07"},"drafted_with_ai":true},"effective_normative_relations":[],"readings":{"liveness":[{"label":"Maintenance","tier":"good","evidence":"1 month since release"},{"label":"Continuity","tier":"fair","evidence":"1 publisher on npm"},{"label":"Repository","tier":"unknown","evidence":"no repository data"}],"compatibility":[{"label":"Declared for","tier":"good","evidence":">=8 — includes cds 10 and 9"},{"label":"Survived majors","tier":"unknown","evidence":"first released after @sap/cds 10 shipped"},{"label":"Maintainer's CI","tier":"unknown","evidence":"no repository data"}],"practice":[{"label":"Tests","tier":"unknown","evidence":"npm test script, tree not read"},{"label":"Docs","tier":"good","evidence":"README 19 KB"},{"label":"Changelog","tier":"fair","evidence":"none in the repo"}],"reach":[{"value":8,"unit":"installs/week"},{"value":null,"unit":"watching"}]},"signals":{"crawled_at":"2026-10-25","latest_version":"0.2.0","majors":{"0.1":{"version":"0.1.0","date":"2026-08-02"},"0.2":{"version":"0.2.0","date":"2026-10-03"}},"license":"MIT","first_release":"2026-08-02","last_release":"2026-10-03","releases":3,"cadence_days":62,"maintainers":1,"repository":"git+https://gitlab.com/schmitt-p/cap-handler-generator.git","peer_cds":">=8","test_script":true,"types":false,"downloads_weekly":8,"months_since_release":1,"dormant":false,"repository_directory":null,"dependencies":1,"node_engine":">=18","downloads_monthly":230,"npm_document_version":"0.2.0","npm_document_integrity":"sha512-zy+SLAt2MlYwOfk1Q1Xs5OTLpjyvj+s2l6BGYA2kSkuhMQYDEL7IkR6z5WVCBOUD9lFOU8K0cu9bnJpgZq2+JA==","npm_document_tarball":"https://registry.npmjs.org/@cap-handler/generator/-/generator-0.2.0.tgz","readme_path":"README.md","readme_bytes":19471,"readme_source":"npm","changelog":false,"license_file":true,"license_path":"LICENSE","license_name":"MIT License"},"release_notes":{"license":"MIT License","quotable":false,"versions":[{"version":"0.2.0","date":"2026-10-03"},{"version":"0.1.1","date":"2026-08-02"},{"version":"0.1.0","date":"2026-08-02"}],"crawled_at":"2026-10-25"},"edges":{"maintainers":[],"contributors":[],"explained_by":[],"alternative_to_this":[],"needed_by":[],"available_via":[],"parts":[],"add_ons":[],"answered_through_parts":[]}}