{"id":15478488,"url":"https://github.com/alnorris/redux-actiontyper","last_synced_at":"2025-04-22T14:48:24.660Z","repository":{"id":57172833,"uuid":"97613803","full_name":"alnorris/redux-actiontyper","owner":"alnorris","description":"Helper to create less verbose action types for Redux","archived":false,"fork":false,"pushed_at":"2023-12-12T20:17:55.000Z","size":9,"stargazers_count":57,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-17T17:21:57.552Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/alnorris.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}},"created_at":"2017-07-18T15:16:22.000Z","updated_at":"2023-02-17T07:16:23.000Z","dependencies_parsed_at":"2024-11-14T18:45:17.858Z","dependency_job_id":null,"html_url":"https://github.com/alnorris/redux-actiontyper","commit_stats":{"total_commits":17,"total_committers":3,"mean_commits":5.666666666666667,"dds":"0.17647058823529416","last_synced_commit":"a13a3d674e19f9e5ff67e5daecf7bb668b4389ff"},"previous_names":["alnorris/actiontyper"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alnorris%2Fredux-actiontyper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alnorris%2Fredux-actiontyper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alnorris%2Fredux-actiontyper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alnorris%2Fredux-actiontyper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alnorris","download_url":"https://codeload.github.com/alnorris/redux-actiontyper/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250262978,"owners_count":21401778,"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-10-02T04:04:51.066Z","updated_at":"2025-04-22T14:48:24.639Z","avatar_url":"https://github.com/alnorris.png","language":"JavaScript","funding_links":[],"categories":["Marks","Uncategorized"],"sub_categories":["[React - A JavaScript library for building user interfaces](http://facebook.github.io/react)","Uncategorized"],"readme":"# Action Typer\n\nHelper to create slightly less verbose redux action types. Uses ES6 Proxies!\n\n**Highly Performant**: Proxy is only run once at startup.\n\nIncludes optional prefixer \n\n# Warning\n\nredux-actiontyper requires native ES6 proxy support. Due to the limitations of ES5, Proxies cannot be transpiled or polyfilled to old browsers. If you need to support old browsers please check [caniuse](https://caniuse.com/#feat=proxy) to see if this package is appropriate for your project.\n\n\n## Install\n\n`npm install redux-actiontyper --save`\n\nor for yarn users\n\n`yarn add redux-actiontyper`\n\n## Old way\n\n```javascript\n\nconst GET_CLIENTS = 'GET_CLIENTS'\nconst GET_CLIENTS_SUCCESS = 'GET_CLIENTS_SUCCESS'\nconst GET_CLIENTS_FAIL = 'GET_CLIENTS_FAIL'\nconst SET_CLIENTS_FILTER = 'SET_CLIENTS_FILTER'\n```\n\n## New Way\n\n```javascript\nimport actionTyper from 'redux-actiontyper';\n\nconst { GET_CLIENTS,\n\tGET_CLIENTS_SUCCESS,\n\tGET_CLIENTS_FAIL, \n\tSET_CLIENTS_FILTER } = actionTyper('HomeState/');\n    \nconsole.log(GET_CLIENTS)  // HomeState/GET_CLIENTS\nconsole.log(GET_CLIENTS_FAIL)  // HomeState/GET_CLIENTS_FAIL\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falnorris%2Fredux-actiontyper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falnorris%2Fredux-actiontyper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falnorris%2Fredux-actiontyper/lists"}