# redux-nara

> ## Features

Latest version **0.1.0** (published 2018-11-21) · MIT license · 0 weekly downloads

## Install

```sh
npm install redux-nara
pnpm add redux-nara
yarn add redux-nara
bun add redux-nara
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.0 |
| Published | 2018-11-21 |
| First published | 2017-07-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 19 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | inabe49 |
| Maintainers | inabe49 |
| Keywords | redux, middleware |

## Links

- npm: https://www.npmjs.com/package/redux-nara
- Repository: https://github.com/phaier/redux-nara
- Issues: https://github.com/phaier/redux-nara/issues
- npm.io page: https://npm.io/package/redux-nara

## Alternatives

- [@sindresorhus/slugify](https://npm.io/package/@sindresorhus/slugify.md) — 3.7M weekly downloads
- [solid-js](https://npm.io/package/solid-js.md) — 2.7M weekly downloads
- [expo-glass-effect](https://npm.io/package/expo-glass-effect.md) — 2.5M weekly downloads
- [nanoassert](https://npm.io/package/nanoassert.md) — 780.8K weekly downloads
- [@ffmpeg/ffmpeg](https://npm.io/package/@ffmpeg/ffmpeg.md) — 529.5K weekly downloads

## Recent versions

- 0.1.0 (latest) — 2018-11-21
- 0.0.9 — 2018-08-24
- 0.0.8 — 2018-05-29
- 0.0.7 — 2018-05-26
- 0.0.6 — 2017-10-17
- 0.0.5 — 2017-08-29
- 0.0.4 — 2017-07-17
- 0.0.3 — 2017-07-17
- 0.0.2 — 2017-07-17
- 0.0.1 — 2017-07-17

## README

# Redux Nara

## Features

* Asynchronous
* Routing
* Key Command

## Asynchronous

```ts
const getUserData: NaraAsyncWorker<MyAction, MyAppState> = async function(action: MyAction, dispatcher: Dispatch<S>) {
    const user = await api.getUser();

    dispatcher(createSuccessGetUser(user));

    const action2 = await waitAction<MyAction2>(MY_ACTION2)

    const state = getState();

};

const listener: NaraAsyncListener<MyAppState> = {
    actionType: GET_USER_DATA,
    worker: getUserData,
    options: {
        allowParallel: false,
    },
};

```

## Key Command

```ts
const keyCommand = new NaraKeyCommand({
    onlyWithModifierKey: false,
    combinations: [
        { modifier: "Ctrl", key: "A" },
    ],
});

```

---
_Source: https://npm.io/package/redux-nara · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
