2.0.0 • Published 1 year ago

typesafe-reducer v2.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

typesafe-reducer

A TypeScript library that helps create type-safe dispatcher and reducer functions

In order to use this library, you should have some familiarity with Typescript ADTs

Installation

Install the package:

npm install typesafe-reducer

Import it into your module:

import { generateReducer, State, Action } from 'typesafe-reducer';

Usage Documentation

See ./test-app/index.ts.

2.0.0

1 year ago

1.0.4

2 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago