{"id":50893869,"url":"https://github.com/hebertdelima13/form-lens-angular","last_synced_at":"2026-06-18T02:00:56.107Z","repository":{"id":362761042,"uuid":"1235970982","full_name":"hebertdelima13/form-lens-angular","owner":"hebertdelima13","description":"Form Lens Angular","archived":false,"fork":false,"pushed_at":"2026-06-17T14:16:27.000Z","size":213,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-17T16:47:10.515Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://hebertdelima13.github.io/form-lens-angular/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hebertdelima13.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":"ROADMAP.md","authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-05-11T20:39:25.000Z","updated_at":"2026-06-17T14:20:52.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/hebertdelima13/form-lens-angular","commit_stats":null,"previous_names":["hebertdelima13/form-lens-angular"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/hebertdelima13/form-lens-angular","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hebertdelima13%2Fform-lens-angular","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hebertdelima13%2Fform-lens-angular/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hebertdelima13%2Fform-lens-angular/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hebertdelima13%2Fform-lens-angular/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hebertdelima13","download_url":"https://codeload.github.com/hebertdelima13/form-lens-angular/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hebertdelima13%2Fform-lens-angular/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34472826,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-18T02:00:06.871Z","response_time":128,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-06-15T23:00:25.064Z","updated_at":"2026-06-18T02:00:56.101Z","avatar_url":"https://github.com/hebertdelima13.png","language":"TypeScript","funding_links":[],"categories":["Development Utilities"],"sub_categories":["Debugging"],"readme":"# FormLens\n\nFormLens is an open source debugging tool for Angular Reactive Forms.\n\nIt helps you inspect form structure, control state, validation errors, and nested form trees directly inside your app during development.\n\n## Why FormLens\n\nDebugging Angular forms often means manually checking `value`, `status`, `errors`, `dirty`, `touched`, and deeply nested controls.\n\nFormLens makes that visual by giving you:\n- a side inspection panel with live state updates\n- form tree visualization with expand/collapse\n- error and validator visibility per control\n- optional invalid field highlight in your app\n\n## Live demo\n\n[formless-angular demo →](https://hebertdelima13.github.io/form-lens-angular/)\n\n## Requirements\n\n- Angular **17 or higher**\n- `@angular/cdk` **17 or higher**\n- `rxjs` **7.8 or higher**\n\n## Current alpha\n\nVersion: `0.1.0-alpha.3`\n\nThe current alpha includes:\n- Reactive Forms support (`FormControl`, `FormGroup`, `FormArray`)\n- live panel with form tree and control details\n- expand/collapse tree navigation\n- search by control name or path\n- validator names visible per control\n- optional invalid control highlight — works with nested groups and FormArrays\n- floating action button (FAB) auto-injected, no manual setup needed\n- demo app for local exploration\n- 162 unit tests covering core flows\n\n## Installation\n\n```bash\nnpm install form-lens-angular\n```\n\n## Quick setup\n\nRegister the provider in your app config:\n\n```ts\nimport { ApplicationConfig } from '@angular/core';\nimport { provideFormLens } from 'form-lens-angular';\n\nexport const appConfig: ApplicationConfig = {\n  providers: [\n    provideFormLens(),\n  ],\n};\n```\n\nAdd the directive to any reactive form:\n\n```ts\nimport { FormLensDirective } from 'form-lens-angular';\n\n@Component({\n  imports: [ReactiveFormsModule, FormLensDirective],\n})\nexport class MyComponent {\n  readonly form = new FormGroup({\n    name: new FormControl('', Validators.required),\n    email: new FormControl('', [Validators.required, Validators.email]),\n  });\n}\n```\n\n```html\n\u003cform [formGroup]=\"form\" formLens formLensName=\"My form\"\u003e\n  \u003cinput formControlName=\"name\" /\u003e\n  \u003cinput formControlName=\"email\" /\u003e\n\u003c/form\u003e\n```\n\n\u003e `formLensName` sets the label shown in the panel for this form. It is optional but recommended when multiple forms are registered.\n\nA FAB will appear in the bottom-right corner. Click it to open the inspector.\n\n## Configuration\n\n```ts\nprovideFormLens({\n  overlayInvalidControls: true, // highlight invalid fields in the DOM (default: true)\n})\n```\n\n\u003e `enabled`, `panelPosition`, `hotkey`, and `detailLevel` are declared in the config type but not yet implemented. They are reserved for upcoming releases.\n\n- [Quick start](./docs/quick-start.md)\n- [Configuration](./docs/configuration.md)\n- [API reference](./docs/api-reference.md)\n- [Architecture](./docs/architecture.md)\n- [Troubleshooting](./docs/troubleshooting.md)\n- [Roadmap](./ROADMAP.md)\n- [Contributing](./CONTRIBUTING.md)\n- [Changelog](./CHANGELOG.md)\n\n## Status\n\nFormLens is currently in **alpha** stage. Expect breaking changes between alpha releases.\n\nThe current focus is validating real-world usefulness for Angular Reactive Forms debugging before expanding scope or hardening the public API.\n\n## Feedback\n\nThe most valuable feedback at this stage:\n- real usage in Angular projects\n- DX friction during setup\n- bugs in nested or dynamic forms\n- confusing inspection behavior\n- missing information in the panel\n\nOpen an issue or start a discussion on GitHub.\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhebertdelima13%2Fform-lens-angular","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhebertdelima13%2Fform-lens-angular","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhebertdelima13%2Fform-lens-angular/lists"}