{"id":15745325,"url":"https://github.com/ryardley/versionable","last_synced_at":"2026-02-05T20:33:05.040Z","repository":{"id":43995630,"uuid":"239511794","full_name":"ryardley/versionable","owner":"ryardley","description":"Memory efficient version control for your javascript objects","archived":false,"fork":false,"pushed_at":"2023-01-05T06:53:32.000Z","size":1114,"stargazers_count":2,"open_issues_count":12,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-23T06:26:13.641Z","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/ryardley.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":"2020-02-10T12:55:48.000Z","updated_at":"2023-03-10T09:49:24.000Z","dependencies_parsed_at":"2023-02-03T16:45:21.954Z","dependency_job_id":null,"html_url":"https://github.com/ryardley/versionable","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/ryardley/versionable","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryardley%2Fversionable","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryardley%2Fversionable/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryardley%2Fversionable/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryardley%2Fversionable/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ryardley","download_url":"https://codeload.github.com/ryardley/versionable/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryardley%2Fversionable/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29133397,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-05T19:36:52.185Z","status":"ssl_error","status_checked_at":"2026-02-05T19:35:40.941Z","response_time":65,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":"2024-10-04T04:02:58.315Z","updated_at":"2026-02-05T20:33:05.018Z","avatar_url":"https://github.com/ryardley.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Versionable\n\nThis is experimental and not ready for use quite yet (eta March 2020).\n\nAn event driven memory efficient version control data container.\n\n```ts\nconst store = new Versionable();\n\nstore.setIn([\"foo\", \"bar\"], \"This is foo.bar!\");\nstore.toJS(); // { foo: { bar: \"This is foo.bar!\" } }\nstore.log(); // []\nstore.commit(); // { id: '12345678', parent: null }\nstore.log(); // [{ id: '12345678' } ]\nstore.setIn([\"foo\", \"bar\"], \"BAZZZ!\");\nstore.setIn([\"thing\"], \"pop!\");\nstore.commit(); // { id: '23456789',  parent: '12345678' }\nstore.log(); // [{ id: '12345678', parent: null  }, { id: '23456789', parent: '12345678'  }]\nstore.toJS(); // { foo: { bar: \"BAZZZ!\" }, thing: \"pop!\" }\nstore.checkout(\"12345678\"); // { id: '12345678',  parent: null }\nstore.current(); // { id: '12345678',  parent: null }\nstore.toJS(); // { foo: { bar: \"This is foo.bar!\" } }\n```\n\n## Why?\n\nI needed a way to branch from history of user actions and for users to go back to any state in the app and build up new history branches. I also needed to serialize the data and send it to the server in the most efficient way possible.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryardley%2Fversionable","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fryardley%2Fversionable","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryardley%2Fversionable/lists"}