# piotrwitek/typesafe-actions

Typesafe utilities for "action-creators" in Redux / Flux Architecture

Repository: https://github.com/piotrwitek/typesafe-actions
Canonical: https://ross.abutalabs.com/products/typesafe-actions
Homepage: https://codesandbox.io/s/github/piotrwitek/typesafe-actions/tree/master/codesandbox
Language: TypeScript
License: MIT
License Family: permissive
Topics: redux-actions, typescript, static-typing, redux, action-creator, javascript
Last push: 2026-05-09T10:56:30+00:00

## Health v2 (maintenance only)
Score: 59/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 81, release rhythm 8, longevity 100
- inputs: {"age_days": 3214, "days_push": 116, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2402, forks 106 (observed 2026-08-28T04:06:43.905249+00:00)

## What it is
A TypeScript utility library providing typesafe helpers for creating action creators, async actions, and reducers in Redux/Flux architecture. It reduces type verbosity and boilerplate when using Redux with TypeScript.

## Use cases
- create typesafe redux action creators in typescript
- reduce boilerplate in redux reducers with typescript
- type redux actions without repetitive type annotations
- write typesafe async actions in redux
- get type inference for redux action payloads
- manage redux state with full static typing

## When to choose
- you use Redux with TypeScript and want typesafe actions and reducers
- you want to cut down type verbosity in a Flux-style architecture
- you follow the React & Redux TypeScript Guide patterns

## When to avoid
- you use Redux Toolkit, which has built-in typesafe action creation
- your project is plain JavaScript without TypeScript
- you use a state management library other than Redux/Flux

## Facets
- artifact type: library
- maturity: maintenance
- function: state-management, type-system, developer-tools
- domain: frontend, web-development, developer-tools
- platform: browser, cross-platform
- tags: redux, typescript, action-creators, flux, static-typing, react, nodejs

## Member repositories
- piotrwitek/typesafe-actions (main) score 59

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:43.905249+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:34:13.824503+00:00, confidence not recorded.
  - readme: https://github.com/piotrwitek/typesafe-actions (fetched 2026-08-28T04:06:43.905249+00:00, sha deff624af12e)
- Data as of 2026-08-30T08:39:29.467469+00:00.
