{"id":28406504,"url":"https://github.com/hwclass/observables.js","last_synced_at":"2026-02-28T15:02:16.005Z","repository":{"id":17696145,"uuid":"20502163","full_name":"hwclass/observables.js","owner":"hwclass","description":"An small object tracing and logging library.","archived":false,"fork":false,"pushed_at":"2017-04-13T12:42:47.000Z","size":6,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-02T07:16:49.585Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hwclass.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-06-04T21:49:16.000Z","updated_at":"2025-04-26T07:25:57.000Z","dependencies_parsed_at":"2022-07-25T06:16:08.975Z","dependency_job_id":null,"html_url":"https://github.com/hwclass/observables.js","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hwclass/observables.js","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hwclass%2Fobservables.js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hwclass%2Fobservables.js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hwclass%2Fobservables.js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hwclass%2Fobservables.js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hwclass","download_url":"https://codeload.github.com/hwclass/observables.js/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hwclass%2Fobservables.js/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259619333,"owners_count":22885489,"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":"2025-06-01T22:11:23.949Z","updated_at":"2025-10-28T18:04:47.027Z","avatar_url":"https://github.com/hwclass.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"observables.js\n\nAn small object tracing and logging library.\n\n### Usage\n\n#### You can have a plain JS object watched\n\u003cpre lang=\"javascript\"\u003e\n\u003ccode\u003e\nvar testObj = {};\nobservables.trace([testObj]);\n/*when the changing occurs like below:*/\ntest.firstProp = \"Changed property.\"\n/*console is logged with the current object is changed and its new value.*/\nconsole =\u003e prop:a was add and is now 1\n\u003c/code\u003e\n\u003c/pre\u003e\n\n#### You can have a plain JS object not to be watched\n\u003cpre lang=\"javascript\"\u003e\n\u003ccode\u003e\nobservables.leave([testObj]);\n/*console is logged with the current object is leaved alone.*/\nconsole =\u003e [object Object] is now unobservable.\n\u003c/code\u003e\n\u003c/pre\u003e\n\n#### You can have a plain JS object frozen (so, not to let it change its value)\n\u003cpre lang=\"javascript\"\u003e\n\u003ccode\u003e\nobservables.freeze([testObj]);\n/*console is logged with the current object is freezed.*/\nconsole =\u003e [object Object] is now unchangable.\n\u003c/code\u003e\n\u003c/pre\u003e\n\n#### You can have objects observed, unobserved and frozen\n\u003cpre lang=\"javascript\"\u003e\n\u003ccode\u003e\nobservables.trace([testObj1, testObj2, testObj3]);\nobservables.leave([testObj1, testObj2, testObj3]);\nobservables.freeze([testObj1, testObj2, testObj3]);\n\u003c/code\u003e\n\u003c/pre\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhwclass%2Fobservables.js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhwclass%2Fobservables.js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhwclass%2Fobservables.js/lists"}