{"id":50753477,"url":"https://github.com/basu-dev/ng-property","last_synced_at":"2026-06-11T03:03:06.630Z","repository":{"id":65457821,"uuid":"402839906","full_name":"basu-dev/ng-property","owner":"basu-dev","description":"Use Angular without zonejs with @Property() decorator.","archived":false,"fork":false,"pushed_at":"2021-09-03T16:54:08.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-31T04:54:47.250Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/basu-dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-09-03T16:53:38.000Z","updated_at":"2021-09-03T16:54:11.000Z","dependencies_parsed_at":"2023-01-24T12:35:11.172Z","dependency_job_id":null,"html_url":"https://github.com/basu-dev/ng-property","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/basu-dev/ng-property","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/basu-dev%2Fng-property","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/basu-dev%2Fng-property/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/basu-dev%2Fng-property/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/basu-dev%2Fng-property/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/basu-dev","download_url":"https://codeload.github.com/basu-dev/ng-property/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/basu-dev%2Fng-property/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34180147,"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-11T02:00:06.485Z","response_time":57,"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-11T03:03:04.933Z","updated_at":"2026-06-11T03:03:06.593Z","avatar_url":"https://github.com/basu-dev.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ng-property\n\n**Cause change detection in angualar when the property value is changed without Zone.**\n\nIt is my first try to use angular without zonejs using a Property() decorator which causes change detection\nto run when the property value is set.\n\n## Installation\n\n```bash\nnpm install ng-property --save\n```\n\n## Example\n\n```ts\nexport class AppComponent implements OnInit {\n  a: number = 0;\n  @Property() b: number = 0;\n\n  // do not cause change detection\n  incrementA() {\n    this.a++;\n  }\n\n  //causes change detection\n  incrementB() {\n    this.b++;\n  }\n}\n```\n\n## Further\n\n\u003e Implement Immutability\n\u003e Use Reference Check for objects\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbasu-dev%2Fng-property","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbasu-dev%2Fng-property","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbasu-dev%2Fng-property/lists"}