{"id":18924623,"url":"https://github.com/dash-os/reducer-generator-array-map","last_synced_at":"2026-03-14T04:30:18.303Z","repository":{"id":57350049,"uuid":"92658508","full_name":"Dash-OS/reducer-generator-array-map","owner":"Dash-OS","description":"A reducer-generator which builds a redux-reducer that reduces an array of  reducers.","archived":false,"fork":false,"pushed_at":"2017-06-16T22:40:43.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-01T13:18:05.254Z","etag":null,"topics":["react","reducer","reducer-generator","redux","saga-process","saga-process-manager"],"latest_commit_sha":null,"homepage":"","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/Dash-OS.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":"2017-05-28T11:58:54.000Z","updated_at":"2017-05-28T12:05:28.000Z","dependencies_parsed_at":"2022-09-16T02:11:53.504Z","dependency_job_id":null,"html_url":"https://github.com/Dash-OS/reducer-generator-array-map","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dash-OS%2Freducer-generator-array-map","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dash-OS%2Freducer-generator-array-map/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dash-OS%2Freducer-generator-array-map/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dash-OS%2Freducer-generator-array-map/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Dash-OS","download_url":"https://codeload.github.com/Dash-OS/reducer-generator-array-map/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239921875,"owners_count":19718842,"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":["react","reducer","reducer-generator","redux","saga-process","saga-process-manager"],"created_at":"2024-11-08T11:07:37.300Z","updated_at":"2026-03-14T04:30:18.250Z","avatar_url":"https://github.com/Dash-OS.png","language":"JavaScript","readme":"# reducer-generator-array-map\n\nA `reducer-generator` which builds a reducer that reduces an array of \nreducers.\n\n### Installation\n\n```\nyarn add reducer-generator-array-map\n```\n\n**or**\n\n```\nnpm install --save reducer-generator-array-map\n```\n\n### Simple Example\n\n```js\nimport createArrayMapReducer from 'reducer-generator-array-map'\n\nconst system = createArrayMapReducer({ /* initial state */ }, [\n  (state, action) =\u003e action.type === 'SYSTEM_ONLINE'\n    ? { ...state, isOnline: true }\n    : state,\n  (state, action) =\u003e action.type === 'SYSTEM_OFFLINE'\n    ? { ...state, isOnline: false\n    : state\n], /* You may pass extra args that will be passed to the reducer(s) */)\n```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdash-os%2Freducer-generator-array-map","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdash-os%2Freducer-generator-array-map","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdash-os%2Freducer-generator-array-map/lists"}