{"id":30310264,"url":"https://github.com/dinoscapeprogramming/syncstore","last_synced_at":"2026-03-17T23:08:06.210Z","repository":{"id":296614236,"uuid":"993977003","full_name":"DinoscapeProgramming/SyncStore","owner":"DinoscapeProgramming","description":"A lightweight, auto-saving JSON store using Proxy in Node.js.","archived":false,"fork":false,"pushed_at":"2025-06-01T08:07:53.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-09T16:57:37.988Z","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/DinoscapeProgramming.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-05-31T23:24:21.000Z","updated_at":"2025-06-01T08:07:56.000Z","dependencies_parsed_at":"2025-06-01T09:33:39.305Z","dependency_job_id":"64d006dd-20e9-4732-82da-65a9507304cf","html_url":"https://github.com/DinoscapeProgramming/SyncStore","commit_stats":null,"previous_names":["dinoscapeprogramming/syncstore"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/DinoscapeProgramming/SyncStore","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DinoscapeProgramming%2FSyncStore","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DinoscapeProgramming%2FSyncStore/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DinoscapeProgramming%2FSyncStore/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DinoscapeProgramming%2FSyncStore/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DinoscapeProgramming","download_url":"https://codeload.github.com/DinoscapeProgramming/SyncStore/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DinoscapeProgramming%2FSyncStore/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270856775,"owners_count":24657700,"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","status":"online","status_checked_at":"2025-08-17T02:00:09.016Z","response_time":129,"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":"2025-08-17T14:10:01.440Z","updated_at":"2026-03-17T23:08:01.180Z","avatar_url":"https://github.com/DinoscapeProgramming.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SyncStore\r\n\r\n**SyncStore** is a minimalist, zero-dependency JSON store for Node.js that automatically syncs changes to disk using JavaScript's Proxy. Perfect for prototyping, small tools, and local data persistence.\r\n\r\n## 🚀 Features\r\n\r\n- 🔁 Auto-saves to file on every change\r\n- ⚡ In-memory caching for fast access\r\n- 🪞 Fully proxied — just use it like a normal object\r\n- 🧩 Zero dependencies\r\n\r\n## 📦 Installation\r\n\r\n```bash\r\nnpm install syncstore.json\r\n```\r\n\r\n## 🛠️ Usage\r\n\r\n```js\r\nconst SyncStore = require(\"syncstore.json\");\r\nconst db = new SyncStore(\"./data.json\");\r\n\r\n// Use it like a regular object\r\ndb.username = \"Alice\";\r\ndb.settings = { darkMode: true };\r\ndelete db.username;\r\n\r\nconsole.log(db.settings.darkMode); // true\r\n```\r\n\r\nAll changes are saved immediately to `data.json`.\r\n\r\n## 📁 File Format\r\n\r\nThe backing file is standard JSON:\r\n\r\n```json\r\n{\r\n  \"settings\": {\r\n    \"darkMode\": true\r\n  }\r\n}\r\n```\r\n\r\n## ✅ Use Cases\r\n\r\n* CLI tools\r\n* Quick local apps\r\n* Prototyping databases\r\n* Config or settings storage\r\n\r\n## 📜 License\r\n\r\nMIT © DinoscapeProgramming","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdinoscapeprogramming%2Fsyncstore","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdinoscapeprogramming%2Fsyncstore","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdinoscapeprogramming%2Fsyncstore/lists"}