{"id":20962987,"url":"https://github.com/doesdev/heedful","last_synced_at":"2025-07-20T09:37:29.248Z","repository":{"id":171407718,"uuid":"647903714","full_name":"doesdev/heedful","owner":"doesdev","description":"Observe nested changes on (almost) anything","archived":false,"fork":false,"pushed_at":"2023-05-31T19:35:21.000Z","size":883,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-20T01:25:51.885Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/doesdev.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-05-31T19:21:38.000Z","updated_at":"2023-05-31T19:22:39.000Z","dependencies_parsed_at":null,"dependency_job_id":"dd838511-e21a-49c7-8873-894c3e58e968","html_url":"https://github.com/doesdev/heedful","commit_stats":null,"previous_names":["doesdev/heedful"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doesdev%2Fheedful","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doesdev%2Fheedful/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doesdev%2Fheedful/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doesdev%2Fheedful/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/doesdev","download_url":"https://codeload.github.com/doesdev/heedful/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243359616,"owners_count":20278230,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":"2024-11-19T02:39:45.937Z","updated_at":"2025-03-13T07:23:04.096Z","avatar_url":"https://github.com/doesdev.png","language":"JavaScript","readme":"# heedful\n\n\u003e Observe nested changes on (almost) anything\n\n## install\n\n```sh\n$ npm install --save heedful\n```\n\n## usage\n\n```js\nimport { takeHeed } from 'heedful'\n\nconst onChange = (changeData) =\u003e console.log(JSON.stringify(changeData, null, 2))\n\nconst baseObject = { child: { array: [{ nested: 'deep' }] } }\nconst observed = takeHeed(baseObject, { onChange })\n\nobserved.child.array[0].mad = 'deep'\n/* LOGGED TO CONSOLE\n{\n  \"property\": \"mad\",\n  \"target\": {\n    \"child\": {\n      \"array\": [\n        {\n          \"nested\": \"deep\",\n          \"mad\": \"deep\"\n        }\n      ]\n    }\n  },\n  \"source\": {\n    \"nested\": \"deep\",\n    \"mad\": \"deep\"\n  },\n  \"chain\": [\n    \"child\",\n    \"array\",\n    \"0\",\n    \"mad\"\n  ]\n}\n*/\n```\n\n## License\n\nMIT © [Andrew Carpenter](https://github.com/doesdev)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdoesdev%2Fheedful","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdoesdev%2Fheedful","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdoesdev%2Fheedful/lists"}