# redux-thunkx

> A redux thunk with extendable arguments

Latest version **1.0.1** (published 2017-11-17) · MIT license · 0 weekly downloads

## Install

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

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2017-11-17 |
| First published | 2017-11-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Ranjan Shrestha |
| Maintainers | syaau |

## Links

- npm: https://www.npmjs.com/package/redux-thunkx
- Repository: https://github.com/Bhoos/redux-thunkx
- Homepage: https://github.com/Bhoos/redux-thunkx#readme
- Issues: https://github.com/Bhoos/redux-thunkx/issues
- npm.io page: https://npm.io/package/redux-thunkx

## Recent versions

- 1.0.1 (latest) — 2017-11-17
- 1.0.0 — 2017-11-17

## README

# redux-thunkx
A redux thunk middleware with extendable arguments

It works exactly like redux-thunk with an additional
feature of extenable arguments

# Example
```javascript
import createThunkx from 'redux-thunkx';

const thunk = createThunkx(extraArgs);

// or

const thunk = createThunkx((dispatch, getState) => ({
  arg1: createArg1(dispatch, getState),
}));
```

# Why ?
You could use the extendable arguments to pass around the dispatch
and getState functions for use later within the arguments. Checkout
redux-thunkx-timer on how it could be used to define easy to use
redux based timeouts

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