</>PackageGraphPackageGraph

redux-thunk

npmv3.1.0TypeScript

Thunk middleware for Redux.

Adopt with care

redux-thunk is usable, with caveats. Last published 1010 days ago.

  • ?Adoption: grade ?, Not reported by this registry.

    No download data reported for this package yet.

  • DMaintenance: grade D, Poor — a real concern.

    Last published 1010 days ago.

  • AWeight: grade A, Excellent.

    Zero runtime dependencies, about 26 KB installed.

  • ASupply chain: grade A, Excellent.

    No install scripts, 5 maintainers, and a contained dependency surface.

  • ALicense: grade A, Excellent.

    MIT — permissive, with no copyleft found in the dependency tree.

Grades are computed deterministically from registry metadata collected by PackageGraph — downloads, dependents, publish dates, the resolved dependency tree, maintainer count, and declared licenses. No third-party scores are used.

Install cost

What you actually take on by adding redux-thunk to a project.

0
Direct dependencies

Runtime packages this one declares itself.

0
Total installed

Distinct packages in the full runtime tree, deduplicated the way a package manager would.

26 KB
Install size

Unpacked size of this package plus its entire runtime tree.

Tree depth

Longest resolved dependency chain below this package.

Compatibility

Node.js
No constraint declared
Module format
ESM + CommonJS
TypeScript
Types included
Install scripts
None

Quick start

A usage example from the redux-thunk README.

import { configureStore } from '@reduxjs/toolkit'

import todosReducer from './features/todos/todosSlice'
import filtersReducer from './features/filters/filtersSlice'

const store = configureStore({
  reducer: {
    todos: todosReducer,
    filters: filtersReducer
  }
})

// The thunk middleware was automatically added

redux-thunk vs the alternatives

Packages solving a similar problem in the npm ecosystem, compared on the signals that drive an adoption decision.

PackageWeekly downloadsDependentsLicenseLast release
redux-thunkthis page01MIT2 years ago
redux42.3M5MIT13 days ago
cors76M6MIT13 days ago
reselect45.7M1MIT14 days ago
@reduxjs/toolkit27.7M2MIT13 days ago
koa8.4M0MIT13 days ago

Dependencies

Declared by redux-thunk v3.1.0. Runtime dependencies are installed with the package; dev dependencies are not.

Peer (1)

Dev (11)

@typescript-eslint/eslint-plugin ^5.1.0@typescript-eslint/parser ^5.1.0cross-env ^7.0.3eslint ^7.32.0eslint-config-prettier ^8.3.0prettier ^2.4.1redux ^5rimraf ^3.0.2tsup 7.0.0typescript ^5.0vitest ^0.32.0

Used by

Popular packages that depend on redux-thunk.

Relationship graph

Dependencies (left) and dependents (right) of redux-thunk.

redux@reduxjs/toolkitredux-thunk
redux-thunk dependencies dependents

Frequently installed together

Release history

No releases in the last two years, typically about 65 days apart.

Recent versions of redux-thunk
VersionPublishedSizeLicense
3.1.0latest2 years ago26 KBMIT
3.0.12 years ago28 KBMIT
3.0.02 years ago28 KBMIT
3.0.0-rc.02 years ago28 KBMIT
3.0.0-beta.03 years ago28 KBMIT
3.0.0-alpha.33 years ago28 KBMIT
3.0.0-alpha.23 years ago28 KBMIT
3.0.0-alpha.13 years ago32 KBMIT
3.0.0-alpha.03 years ago32 KBMIT
2.4.23 years ago31 KBMIT
2.4.14 years ago31 KBMIT
2.4.04 years ago31 KBMIT
2.3.08 years ago17 KBMIT
2.2.09 years agoMIT
2.1.29 years agoMIT

Overview

redux-thunk is an npm package that thunk middleware for Redux. It has 1 known dependents in the graph. The latest version is 3.1.0, released under the MIT license.

Who should use it

Teams working in the npm ecosystem who need thunk middleware for Redux and value a focused solution.

When not to use it

Consider an alternative if you need to or if a more actively-maintained option better fits your npm stack.

Pros

  • Ships TypeScript type definitions.
  • Clear open-source license (MIT).

Cons

  • No significant drawbacks detected from available metadata.

Auto-generated from collected registry metadata. No external claims are inferred.

Maintainers

Keywords

Frequently asked questions

Should I use redux-thunk?

redux-thunk is usable, with caveats. Last published 1010 days ago.

How do I install redux-thunk?

Run `npm install redux-thunk` to add redux-thunk to your npm project.

What license is redux-thunk released under?

redux-thunk is distributed under the MIT license.

How popular is redux-thunk?

npm does not publish download counts. Within PackageGraph's crawl, 1 known packages depend on redux-thunk.

Is redux-thunk still maintained?

The most recent release of redux-thunk (v3.1.0) was published 2 years ago.

Does redux-thunk run install scripts?

No. redux-thunk does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.