{"id":13493679,"url":"https://github.com/redux-utilities/redux-actions","last_synced_at":"2025-05-16T01:03:16.698Z","repository":{"id":34459251,"uuid":"38395154","full_name":"redux-utilities/redux-actions","owner":"redux-utilities","description":"Flux Standard Action utilities for Redux.","archived":false,"fork":false,"pushed_at":"2024-07-21T16:45:27.000Z","size":599,"stargazers_count":6503,"open_issues_count":50,"forks_count":297,"subscribers_count":62,"default_branch":"master","last_synced_at":"2025-05-16T01:01:51.137Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://redux-actions.js.org","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/redux-utilities.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}},"created_at":"2015-07-01T21:08:45.000Z","updated_at":"2025-05-15T22:12:01.000Z","dependencies_parsed_at":"2023-01-15T07:15:58.089Z","dependency_job_id":"f1467910-f707-4863-ac9e-73c0015c63da","html_url":"https://github.com/redux-utilities/redux-actions","commit_stats":{"total_commits":221,"total_committers":72,"mean_commits":"3.0694444444444446","dds":0.7285067873303168,"last_synced_commit":"3fa4c50dfeab54fa1f2110764757ee4c10c8e3ac"},"previous_names":["acdlite/redux-actions","acdlite/redux-fsa"],"tags_count":45,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redux-utilities%2Fredux-actions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redux-utilities%2Fredux-actions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redux-utilities%2Fredux-actions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redux-utilities%2Fredux-actions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/redux-utilities","download_url":"https://codeload.github.com/redux-utilities/redux-actions/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254448579,"owners_count":22072764,"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":"2024-07-31T19:01:17.784Z","updated_at":"2025-05-16T01:03:16.186Z","avatar_url":"https://github.com/redux-utilities.png","language":"JavaScript","funding_links":[],"categories":["JavaScript","📦 Legacy \u0026 Inactive Projects","React, Redux","React, React Native"],"sub_categories":["State Management"],"readme":"# redux-actions\n\n[![Build Status](https://travis-ci.org/redux-utilities/redux-actions.svg?branch=master)](https://travis-ci.org/redux-utilities/redux-actions)\n[![codecov](https://codecov.io/gh/redux-utilities/redux-actions/branch/master/graph/badge.svg)](https://codecov.io/gh/redux-utilities/redux-actions)\n[![npm](https://img.shields.io/npm/v/redux-actions.svg)](https://www.npmjs.com/package/redux-actions)\n[![npm](https://img.shields.io/npm/dm/redux-actions.svg)](https://www.npmjs.com/package/redux-actions)\n\n\u003e [Flux Standard Action](https://github.com/acdlite/flux-standard-action) utilities for Redux\n\n### Table of Contents\n\n- [Getting Started](#getting-started)\n  - [Installation](#installation)\n  - [Usage](#usage)\n- [Documentation](#documentation)\n\n# Getting Started\n\n## Installation\n\n```bash\n$ npm install --save redux-actions\n```\n\nor\n\n```bash\n$ yarn add redux-actions\n```\n\nThe [npm](https://www.npmjs.com) package provides [ES modules](http://jsmodules.io/) that should be compatible with every modern build tooling.\n\n## Usage\n\n```js\nimport { createActions, handleActions, combineActions } from 'redux-actions';\n\nconst defaultState = { counter: 10 };\n\nconst { increment, decrement } = createActions({\n  INCREMENT: (amount = 1) =\u003e ({ amount }),\n  DECREMENT: (amount = 1) =\u003e ({ amount: -amount })\n});\n\nconst reducer = handleActions(\n  {\n    [combineActions(increment, decrement)]: (\n      state,\n      { payload: { amount } }\n    ) =\u003e {\n      return { ...state, counter: state.counter + amount };\n    }\n  },\n  defaultState\n);\n\nexport default reducer;\n```\n\n[See the full API documentation.](https://redux-actions.js.org/)\n\n## Documentation\n\n- [Introduction](https://redux-actions.js.org/introduction)\n- [API](https://redux-actions.js.org/api)\n- [External Resources](https://redux-actions.js.org/externalresources)\n- [Changelog](https://redux-actions.js.org/changelog)\n- [Contributors](https://github.com/redux-utilities/redux-actions/graphs/contributors)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fredux-utilities%2Fredux-actions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fredux-utilities%2Fredux-actions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fredux-utilities%2Fredux-actions/lists"}