{"id":18721438,"url":"https://github.com/pagoru/redux-middleware","last_synced_at":"2025-11-11T01:30:18.020Z","repository":{"id":42914466,"uuid":"249226947","full_name":"pagoru/redux-middleware","owner":"pagoru","description":null,"archived":false,"fork":false,"pushed_at":"2022-03-26T08:56:51.000Z","size":75,"stargazers_count":0,"open_issues_count":4,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-07T01:34:48.634Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pagoru.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":"2020-03-22T16:41:35.000Z","updated_at":"2020-04-06T22:58:42.000Z","dependencies_parsed_at":"2022-09-26T17:00:34.660Z","dependency_job_id":null,"html_url":"https://github.com/pagoru/redux-middleware","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":"darkaqua/node-with-typescript","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pagoru%2Fredux-middleware","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pagoru%2Fredux-middleware/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pagoru%2Fredux-middleware/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pagoru%2Fredux-middleware/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pagoru","download_url":"https://codeload.github.com/pagoru/redux-middleware/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239358510,"owners_count":19625502,"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-11-07T13:34:34.887Z","updated_at":"2025-11-11T01:30:17.965Z","avatar_url":"https://github.com/pagoru.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Build status](https://pagoru.visualstudio.com/redux-middleware/_apis/build/status/redux-middleware-CI)\n# @pagoru/redux-middleware\nSimple redux middleware library, to create your own middleware.\n\n## Usage\n```js\nimport { createStore } from 'redux'\nimport { middleware, middlewareHandler } from 'redux-middleware'\n\n// Create as many you need.\nmiddlewareHandler(  \n    (action, getState) =\u003e {  \n\t    // you can modify your action here\n\t\tconsole.log('will', action, getState());  \n\t\treturn action;  \n  }, (action, getState) =\u003e {  \n        console.log('did', action, getState());  \n  }  \n);\n\nconst initialStore = {}\n// Add the middleware to the createStore.\nconst store = createStore(rootReducer, initialStore, applyMiddleware(middleware));\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpagoru%2Fredux-middleware","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpagoru%2Fredux-middleware","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpagoru%2Fredux-middleware/lists"}