{"id":16190907,"url":"https://github.com/maxmellon/redux-action-timing-middleware","last_synced_at":"2026-02-27T05:04:14.929Z","repository":{"id":33124769,"uuid":"152462148","full_name":"MaxMEllon/redux-action-timing-middleware","owner":"MaxMEllon","description":":fire: A redux middleware is inject marker to performance profile.","archived":false,"fork":false,"pushed_at":"2026-02-17T21:37:40.000Z","size":711,"stargazers_count":31,"open_issues_count":4,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-02-18T03:25:29.720Z","etag":null,"topics":[],"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/MaxMEllon.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2018-10-10T17:22:53.000Z","updated_at":"2023-07-23T06:47:29.000Z","dependencies_parsed_at":"2023-09-26T08:14:36.718Z","dependency_job_id":"40cfcc4c-625c-4ca8-8fc6-fe8685544681","html_url":"https://github.com/MaxMEllon/redux-action-timing-middleware","commit_stats":null,"previous_names":["maxmellon/redux-action-perf-middleware"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/MaxMEllon/redux-action-timing-middleware","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaxMEllon%2Fredux-action-timing-middleware","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaxMEllon%2Fredux-action-timing-middleware/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaxMEllon%2Fredux-action-timing-middleware/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaxMEllon%2Fredux-action-timing-middleware/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MaxMEllon","download_url":"https://codeload.github.com/MaxMEllon/redux-action-timing-middleware/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaxMEllon%2Fredux-action-timing-middleware/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29885801,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-26T23:51:21.483Z","status":"online","status_checked_at":"2026-02-27T02:00:06.759Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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-10T07:44:27.144Z","updated_at":"2026-02-27T05:04:14.903Z","avatar_url":"https://github.com/MaxMEllon.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# redux-action-timing-middleware\n\n![](./.github/demo1.png)\n\n![](./.github/demo2.png)\n\n\u003e Add marker of redux-action to User Timing in profile.\n\nInstallation\n---\n\n```bash\n$ npm i --save-dev redux-action-timing-middleware\n# or\n$ yarn add --dev redux-action-timing-middleware\n```\n\nUsage\n---\n\n```javascript\nimport { applyMiddleware, compose, createStore } from \"redux\";\nimport actionTiming from \"redux-action-timing-middleware\"\n\nconst createReduxStore = (reducer, initialState) =\u003e {\n  const middlewares = [\n    // Please put top in middleware list.\n    actionTiming(),\n\n    middlewareA,\n    middlewareB\n  ]\n\n  return createStore(\n    reducer,\n    initialState,\n    compose(applyMiddleware(...middlewares))\n  )\n}\n\nexport default createReduxStore\n```\n\nOption\n---\n\n- actionTiming(enable: boolean = true): void\n\nPlease set NODE_ENV to arguments, if you use only development\n\n```javascript\nconst middlewares = [\n  // Please put top in middleware list.\n  actionTiming(process.env.NODE_ENV === 'development'),\n\n  middlewareA,\n  middlewareB\n]\n```\n\n\nLICENSE\n---\n\nLicensed under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxmellon%2Fredux-action-timing-middleware","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaxmellon%2Fredux-action-timing-middleware","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxmellon%2Fredux-action-timing-middleware/lists"}