rtk-query-axios

JSON →
library 1.0.1 ·javascript
verified Jun 7, 2026

A CLI tool that scaffolds RTK Query + Axios integration into React or Next.js apps with a single command. Version 1.0.1 installs @reduxjs/toolkit, react-redux, axios, and js-cookie, and copies a ready-to-use redux/ folder with base query setup, root API slice, example service, store, hooks, and Redux provider. It automatically detects whether a src/ directory exists and places files accordingly. Key differentiator: opinionated but minimal setup for RTK Query with Axios as the HTTP client, including cookie-based auth token injection.