{"id":16295752,"url":"https://github.com/hamlim/redocer","last_synced_at":"2026-04-14T18:32:24.105Z","repository":{"id":74220962,"uuid":"196726660","full_name":"hamlim/redocer","owner":"hamlim","description":"A redo-undo reducer enhancer","archived":false,"fork":false,"pushed_at":"2026-04-12T16:08:06.000Z","size":1093,"stargazers_count":1,"open_issues_count":3,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-04-12T17:29:28.952Z","etag":null,"topics":["hooks","react-hooks","reducer","redux","usereducer"],"latest_commit_sha":null,"homepage":"","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/hamlim.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2019-07-13T13:47:25.000Z","updated_at":"2026-04-12T16:08:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"a7881f61-c286-41e6-ace9-8e307de32ff8","html_url":"https://github.com/hamlim/redocer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":"hamlim/old-project-library-template","purl":"pkg:github/hamlim/redocer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hamlim%2Fredocer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hamlim%2Fredocer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hamlim%2Fredocer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hamlim%2Fredocer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hamlim","download_url":"https://codeload.github.com/hamlim/redocer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hamlim%2Fredocer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31810737,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-14T18:05:02.291Z","status":"ssl_error","status_checked_at":"2026-04-14T18:05:01.765Z","response_time":153,"last_error":"SSL_read: 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":["hooks","react-hooks","reducer","redux","usereducer"],"created_at":"2024-10-10T20:19:42.757Z","updated_at":"2026-04-14T18:32:24.100Z","avatar_url":"https://github.com/hamlim.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Redocer\n\n_Pronounced: reducer_\n\nA custom reducer enhancer that returns a reducer that handles undo and redo\nactions.\n\n### API\n\n```jsx\nimport makeRedocer from 'redocer'\n\nfunction reducer(state, action) { ... };\n\nlet redoable = makeRedocer(reducer, initialState);\n\n// Regular actions pass through to the original reducer\nredoable(state, 'some-action')\n// if you have already called the reducer with a custom action\n// then you can call it with a `redo` action, returning the previous state\nredoable(state, 'redo')\n// Once you have redone a change, you can call the reducer with `undo`\nredoable(state, 'undo')\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhamlim%2Fredocer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhamlim%2Fredocer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhamlim%2Fredocer/lists"}