{"_id":"@1hirak/rtk-setup-next","_rev":"11-0f91d5a57633c425c36708a8f21cd489","name":"@1hirak/rtk-setup-next","dist-tags":{"latest":"1.0.10"},"versions":{"1.0.0":{"name":"@1hirak/rtk-setup-next","version":"1.0.0","keywords":["redux","next.js","setup","rtk"],"author":{"name":"Hirakjyoti Das"},"license":"MIT","_id":"@1hirak/rtk-setup-next@1.0.0","maintainers":[{"name":"hirakdas","email":"jhirak83@gmail.com"}],"homepage":"https://github.com/1hirak/rtk-setup-next#readme","bugs":{"url":"https://github.com/1hirak/rtk-setup-next/issues"},"bin":{"rtk-setup-next":"setup.js"},"dist":{"shasum":"5529ea55e1c2a28fcaf5cd3202d754cc19f2088a","tarball":"https://registry.npmjs.org/@1hirak/rtk-setup-next/-/rtk-setup-next-1.0.0.tgz","fileCount":3,"integrity":"sha512-0Vn89/+md2mp7f2pB+RFvlqKxFFISqIE9lF8KIjPaUSDbn6tNvmqx3FqS43Mb+aPcnhL6NP1SUkwz7v0eUQ+Ew==","signatures":[{"sig":"MEYCIQDir0j5MD+l1hxQA08D/hudocznQmlPPxbZsnm2rG97GAIhAKR0UVZ2tu5fjTziwWj5B14ZqBJoF3n8yF2+0k70g/nT","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":10932},"main":"setup.js","type":"commonjs","gitHead":"ca72904c6b01988e162925bd50679278148eb2fd","scripts":{"test":"echo \"No tests specified\""},"_npmUser":{"name":"hirakdas","email":"jhirak83@gmail.com"},"repository":{"url":"git+https://github.com/1hirak/rtk-setup-next.git","type":"git"},"_npmVersion":"11.3.0","description":"A package to set up Redux Toolkit in Next.js projects","directories":{},"_nodeVersion":"22.15.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/rtk-setup-next_1.0.0_1748621345773_0.46703914733182117","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@1hirak/rtk-setup-next","version":"1.0.1","keywords":["redux","next.js","setup","rtk"],"author":{"name":"Hirakjyoti Das"},"license":"MIT","_id":"@1hirak/rtk-setup-next@1.0.1","maintainers":[{"name":"hirakdas","email":"jhirak83@gmail.com"}],"homepage":"https://github.com/1hirak/rtk-setup-next#readme","bugs":{"url":"https://github.com/1hirak/rtk-setup-next/issues"},"bin":{"rtk-setup-next":"setup.js"},"dist":{"shasum":"9249ff42c65d4620ce2dbe326ce95c723939b334","tarball":"https://registry.npmjs.org/@1hirak/rtk-setup-next/-/rtk-setup-next-1.0.1.tgz","fileCount":3,"integrity":"sha512-dlO1yZR1WzoVvJpnQv9lPNpvjDax7rO5Zs8UggGa9YLUJ0Pj3DcuhkSdn6ihcfC3cs0LgCJfXVs8zDGgmM7pUg==","signatures":[{"sig":"MEQCIEn2fVAl7tN4S1N8JYUkRNbn2FhasFlO4QzLL1xX/t2FAiAaQmQSQZar8ATnMpZ/FUqfQVlLKfS4bhzWQu8FUlkGoQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":10933},"main":"setup.js","type":"commonjs","gitHead":"ca72904c6b01988e162925bd50679278148eb2fd","scripts":{"test":"echo \"No tests specified\""},"_npmUser":{"name":"hirakdas","email":"jhirak83@gmail.com"},"repository":{"url":"git+https://github.com/1hirak/rtk-setup-next.git","type":"git"},"_npmVersion":"11.3.0","description":"A package to set up Redux Toolkit in Next.js projects","directories":{},"_nodeVersion":"22.15.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/rtk-setup-next_1.0.1_1748621452884_0.5006187564887339","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@1hirak/rtk-setup-next","version":"1.0.2","keywords":["redux","next.js","setup","rtk"],"author":{"name":"Hirakjyoti Das"},"license":"MIT","_id":"@1hirak/rtk-setup-next@1.0.2","maintainers":[{"name":"hirakdas","email":"jhirak83@gmail.com"}],"homepage":"https://github.com/1hirak/rtk-setup-next#readme","bugs":{"url":"https://github.com/1hirak/rtk-setup-next/issues"},"bin":{"rtk-setup-next":"setup.js"},"dist":{"shasum":"2daa8c7a519b569e1228b5afb2d75e3875f6e507","tarball":"https://registry.npmjs.org/@1hirak/rtk-setup-next/-/rtk-setup-next-1.0.2.tgz","fileCount":3,"integrity":"sha512-+nos9v2YrMnweyuzSx4VGffSDEcUytuvIAxXeBZAcnsBmRMu3Pd7QPOKNn4rsW0+VVBAyiSULg1RNp4UGy1Nsg==","signatures":[{"sig":"MEYCIQCsdLuCnkQRuABcRlKODa3ho7LB7RGlAGQuwC1kwse2BAIhAMjBI69perW9TfOXvQ7lCMQs4Wa8entKIPcyHZh0ewAP","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":11161},"main":"setup.js","type":"commonjs","gitHead":"edcb879cac8ae0e661a1323f940416acf9d16052","scripts":{"test":"echo \"No tests specified\""},"_npmUser":{"name":"hirakdas","email":"jhirak83@gmail.com"},"repository":{"url":"git+https://github.com/1hirak/rtk-setup-next.git","type":"git"},"_npmVersion":"11.3.0","description":"A package to set up Redux Toolkit in Next.js projects","directories":{},"_nodeVersion":"22.15.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/rtk-setup-next_1.0.2_1748626948852_0.22768322363343318","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"@1hirak/rtk-setup-next","version":"1.0.3","keywords":["redux","next.js","setup","rtk"],"author":{"name":"Hirakjyoti Das"},"license":"MIT","_id":"@1hirak/rtk-setup-next@1.0.3","maintainers":[{"name":"hirakdas","email":"jhirak83@gmail.com"}],"homepage":"https://github.com/1hirak/rtk-setup-next#readme","bugs":{"url":"https://github.com/1hirak/rtk-setup-next/issues"},"bin":{"rtk-setup-next":"setup.js"},"dist":{"shasum":"4f265f52bff20f38b8ebb400a955833bc78b5a7c","tarball":"https://registry.npmjs.org/@1hirak/rtk-setup-next/-/rtk-setup-next-1.0.3.tgz","fileCount":3,"integrity":"sha512-fBiDG09Vz4UBx2NOR7+wV4qq0+M5DBtgDljYuPZ9y7PokryHoeXIOo/pusPI4P/T6odBvVgTMFv66ZiDaWyFPw==","signatures":[{"sig":"MEYCIQCcWCM39ZMmKTATJMFmeZE+iCap/jG+eKpM0b1Ekh5ClgIhAJRj8UpLuVdRaZeheLRubXvACMFPaW6mkZcdMRRc5Qa+","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":11522},"main":"setup.js","type":"commonjs","gitHead":"953974e423b379ff0c41269ac9464d3d63d1b4ea","scripts":{"test":"echo \"No tests specified\""},"_npmUser":{"name":"hirakdas","email":"jhirak83@gmail.com"},"repository":{"url":"git+https://github.com/1hirak/rtk-setup-next.git","type":"git"},"_npmVersion":"11.3.0","description":"A package to set up Redux Toolkit in Next.js projects","directories":{},"_nodeVersion":"22.15.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/rtk-setup-next_1.0.3_1748632909239_0.6768708089152355","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"name":"@1hirak/rtk-setup-next","version":"1.0.4","keywords":["redux","next.js","setup","rtk"],"author":{"name":"Hirakjyoti Das"},"license":"MIT","_id":"@1hirak/rtk-setup-next@1.0.4","maintainers":[{"name":"hirakdas","email":"jhirak83@gmail.com"}],"homepage":"https://github.com/1hirak/rtk-setup-next#readme","bugs":{"url":"https://github.com/1hirak/rtk-setup-next/issues"},"bin":{"rtk-setup-next":"setup.js"},"dist":{"shasum":"dad6040f1ec642bfe521f11b39db82abf8d0da88","tarball":"https://registry.npmjs.org/@1hirak/rtk-setup-next/-/rtk-setup-next-1.0.4.tgz","fileCount":3,"integrity":"sha512-NNU3S0CNS0DEibpuuC6HZENKMhdcou/UVCrh/Oq4wzkKMQfnr7JN8e01eN+eoDZeAUhzddFVnPk4eKIxGw5y1Q==","signatures":[{"sig":"MEUCICdtVap49zx8vvK4vjE3lzh1UGIqdPEoNGVP11TjyxfYAiEAuUtyrrmd2bnlA2glAt1nKpvHOtnSJLVaAh2f7NcI/rs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":11526},"main":"setup.js","type":"commonjs","gitHead":"953974e423b379ff0c41269ac9464d3d63d1b4ea","scripts":{"test":"echo \"No tests specified\""},"_npmUser":{"name":"hirakdas","email":"jhirak83@gmail.com"},"repository":{"url":"git+https://github.com/1hirak/rtk-setup-next.git","type":"git"},"_npmVersion":"11.3.0","description":"A package to set up Redux Toolkit in Next.js projects","directories":{},"_nodeVersion":"22.15.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/rtk-setup-next_1.0.4_1748633211914_0.1035624409931617","host":"s3://npm-registry-packages-npm-production"}},"1.0.5":{"name":"@1hirak/rtk-setup-next","version":"1.0.5","keywords":["redux","next.js","setup","rtk"],"author":{"name":"Hirakjyoti Das"},"license":"MIT","_id":"@1hirak/rtk-setup-next@1.0.5","maintainers":[{"name":"hirakdas","email":"jhirak83@gmail.com"}],"homepage":"https://github.com/1hirak/rtk-setup-next#readme","bugs":{"url":"https://github.com/1hirak/rtk-setup-next/issues"},"bin":{"rtk-setup-next":"setup.js"},"dist":{"shasum":"6fe42f4b366d79b4739a6eb87379eb34f8e18bb9","tarball":"https://registry.npmjs.org/@1hirak/rtk-setup-next/-/rtk-setup-next-1.0.5.tgz","fileCount":3,"integrity":"sha512-sN4wAYIfjOjXuJ517BBcqHdNjlcuQbdPI9995KBA1amPsChO6ozucg99nawl6twfAEKDS/DNQKU/FkEuwlYbpg==","signatures":[{"sig":"MEUCIQDhuofe3k8UHV9julXTvI7Rf+6ufF32YviMhuyHeQ0q+gIgZ8kp4Q4Eumng4IHNHMyMMHuIfoORYnBtxSQPJw2IjsI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":8732},"main":"setup.js","type":"commonjs","gitHead":"953974e423b379ff0c41269ac9464d3d63d1b4ea","scripts":{"test":"echo \"No tests specified\""},"_npmUser":{"name":"hirakdas","email":"jhirak83@gmail.com"},"repository":{"url":"git+https://github.com/1hirak/rtk-setup-next.git","type":"git"},"_npmVersion":"11.3.0","description":"A package to set up Redux Toolkit in Next.js projects","directories":{},"_nodeVersion":"22.15.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/rtk-setup-next_1.0.5_1748637539855_0.30496943274066823","host":"s3://npm-registry-packages-npm-production"}},"1.0.6":{"name":"@1hirak/rtk-setup-next","version":"1.0.6","keywords":["redux","next.js","setup","rtk"],"author":{"name":"Hirakjyoti Das"},"license":"MIT","_id":"@1hirak/rtk-setup-next@1.0.6","maintainers":[{"name":"hirakdas","email":"jhirak83@gmail.com"}],"homepage":"https://github.com/1hirak/rtk-setup-next#readme","bugs":{"url":"https://github.com/1hirak/rtk-setup-next/issues"},"bin":{"rtk-setup-next":"setup.js"},"dist":{"shasum":"95204c927351ba2d9330cffd0793f987791f3784","tarball":"https://registry.npmjs.org/@1hirak/rtk-setup-next/-/rtk-setup-next-1.0.6.tgz","fileCount":3,"integrity":"sha512-+QaeEdIOQKRS9Iqd8XoyYgI5RdcoZ1Ob9kBOUrS1GOQm0xTcENMOp/nDOUxTdkpiKqMaBbO2+5Lurb9xhTq6xQ==","signatures":[{"sig":"MEUCIQC4DnRT0OAki/gx62g5NYdQ5S9Xh6+3xs1Y07qbPYHr1AIgXbRzF5z62Kg8q8oyYlZs8gi63PhOc3ePU7lr4w2vrQ0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":8678},"main":"setup.js","type":"commonjs","gitHead":"f1e11f4666c23d2f7839c1912a2306cf9c571c67","scripts":{"test":"echo \"No tests specified\""},"_npmUser":{"name":"hirakdas","email":"jhirak83@gmail.com"},"repository":{"url":"git+https://github.com/1hirak/rtk-setup-next.git","type":"git"},"_npmVersion":"11.3.0","description":"A package to set up Redux Toolkit in Next.js projects","directories":{},"_nodeVersion":"22.15.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/rtk-setup-next_1.0.6_1748638599146_0.9665152112643021","host":"s3://npm-registry-packages-npm-production"}},"1.0.7":{"name":"@1hirak/rtk-setup-next","version":"1.0.7","keywords":["redux","next.js","setup","rtk"],"author":{"name":"Hirakjyoti Das"},"license":"MIT","_id":"@1hirak/rtk-setup-next@1.0.7","maintainers":[{"name":"hirakdas","email":"jhirak83@gmail.com"}],"homepage":"https://github.com/1hirak/rtk-setup-next#readme","bugs":{"url":"https://github.com/1hirak/rtk-setup-next/issues"},"bin":{"rtk-setup-next":"setup.js"},"dist":{"shasum":"437435539b0f0086b3374e26a0fb2ecf1b876bb6","tarball":"https://registry.npmjs.org/@1hirak/rtk-setup-next/-/rtk-setup-next-1.0.7.tgz","fileCount":3,"integrity":"sha512-+uzuYr3dMA3GdcTwAhKl2y9zR0E7XkFtQQuIDz8tgokg33eZLFLnAS3ZGxTfajMEPI7vpKuMskF6IftfdxltSQ==","signatures":[{"sig":"MEYCIQDEDcm+HN8vXjpGRujKIFLE+mjARFYfP4oeGOqYS79+cQIhAJTji463LFXrPfAXUUhQAI9oI7HZEBuTC2yyDXJQoIqK","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":9029},"main":"setup.js","type":"commonjs","gitHead":"f1e11f4666c23d2f7839c1912a2306cf9c571c67","scripts":{"test":"echo \"No tests specified\""},"_npmUser":{"name":"hirakdas","email":"jhirak83@gmail.com"},"repository":{"url":"git+https://github.com/1hirak/rtk-setup-next.git","type":"git"},"_npmVersion":"11.3.0","description":"A package to set up Redux Toolkit in Next.js projects","directories":{},"_nodeVersion":"22.15.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/rtk-setup-next_1.0.7_1748639163401_0.4070871592877261","host":"s3://npm-registry-packages-npm-production"}},"1.0.8":{"name":"@1hirak/rtk-setup-next","version":"1.0.8","keywords":["redux","next.js","setup","rtk"],"author":{"name":"Hirakjyoti Das"},"license":"MIT","_id":"@1hirak/rtk-setup-next@1.0.8","maintainers":[{"name":"hirakdas","email":"jhirak83@gmail.com"}],"homepage":"https://github.com/1hirak/rtk-setup-next#readme","bugs":{"url":"https://github.com/1hirak/rtk-setup-next/issues"},"bin":{"rtk-setup-next":"setup.js"},"dist":{"shasum":"f89f0764b4040a8c76708cfa8d43d279ff0f3276","tarball":"https://registry.npmjs.org/@1hirak/rtk-setup-next/-/rtk-setup-next-1.0.8.tgz","fileCount":3,"integrity":"sha512-M9wjGg/z+cE1QqYvHSygTDWMF7YZvMIm/U8BuTJCn40tXamCvDjO+wyRsku6QsVUcmUi7UyGtQgIywGYrlwtKQ==","signatures":[{"sig":"MEYCIQCy/Kk4lg54QzavwB4MQKXJj1o5LMG8UxtnhNtnGXobPQIhAObN6usGui8iGWqcFrOUYwuMdQjYBfbo4nW+EtwrzERY","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":9029},"main":"setup.js","type":"commonjs","gitHead":"f1e11f4666c23d2f7839c1912a2306cf9c571c67","scripts":{"test":"echo \"No tests specified\""},"_npmUser":{"name":"hirakdas","email":"jhirak83@gmail.com"},"repository":{"url":"git+https://github.com/1hirak/rtk-setup-next.git","type":"git"},"_npmVersion":"11.3.0","description":"A package to set up Redux Toolkit in Next.js projects","directories":{},"_nodeVersion":"22.15.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/rtk-setup-next_1.0.8_1748640004109_0.8185482471093573","host":"s3://npm-registry-packages-npm-production"}},"1.0.9":{"name":"@1hirak/rtk-setup-next","version":"1.0.9","keywords":["redux","next.js","setup","rtk"],"author":{"name":"Hirakjyoti Das"},"license":"MIT","_id":"@1hirak/rtk-setup-next@1.0.9","maintainers":[{"name":"hirakdas","email":"jhirak83@gmail.com"}],"homepage":"https://github.com/1hirak/rtk-setup-next#readme","bugs":{"url":"https://github.com/1hirak/rtk-setup-next/issues"},"bin":{"rtk-setup-next":"setup.js"},"dist":{"shasum":"69fc13000f40b59c82cd86febfaf40349de8aa31","tarball":"https://registry.npmjs.org/@1hirak/rtk-setup-next/-/rtk-setup-next-1.0.9.tgz","fileCount":3,"integrity":"sha512-C95FieyJXSYYux/18MiwkGgmP5dfvtpQMYDZeHmAon5h4ObAmnBBfT6oGaMp5i274t7VbmFEzVZLMsZuM9AguA==","signatures":[{"sig":"MEUCIHPoZo9wqlMUtUoZ0NHyce5mxZ2MqbO/BgY19cyn45vkAiEA5tmIVhV8QpG4Jxl2BRtuX/BquMjO4wT3Mi/BI5bXkQI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":11842},"main":"setup.js","type":"commonjs","gitHead":"f1e11f4666c23d2f7839c1912a2306cf9c571c67","scripts":{"test":"echo \"No tests specified\""},"_npmUser":{"name":"hirakdas","email":"jhirak83@gmail.com"},"repository":{"url":"git+https://github.com/1hirak/rtk-setup-next.git","type":"git"},"_npmVersion":"11.3.0","description":"A package to set up Redux Toolkit in Next.js projects","directories":{},"_nodeVersion":"22.15.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/rtk-setup-next_1.0.9_1748640351941_0.08002175862504113","host":"s3://npm-registry-packages-npm-production"}},"1.0.10":{"name":"@1hirak/rtk-setup-next","version":"1.0.10","description":"A simple CLI tool to quickly set up Redux Toolkit in your Next.js 13+ App Router projects.","keywords":["redux-toolkit","nextjs","app-router","cli","state-management","boilerplate","react-redux","javascript","typescript","setup","configure","automation","frontend"],"homepage":"https://github.com/1hirak/rtk-setup-next#readme","bugs":{"url":"https://github.com/1hirak/rtk-setup-next/issues"},"repository":{"type":"git","url":"git+https://github.com/1hirak/rtk-setup-next.git"},"license":"MIT","author":{"name":"Hirakjyoti Das"},"type":"commonjs","main":"setup.js","bin":{"rtk-setup-next":"setup.js"},"scripts":{"test":"echo \"No tests specified\""},"_id":"@1hirak/rtk-setup-next@1.0.10","gitHead":"d138eff3bc649ca975e5a3cd3b21d961f614036b","_nodeVersion":"22.15.0","_npmVersion":"11.3.0","dist":{"integrity":"sha512-XjJfflH2a0ulX6s5/KEmE8VgDcPLTHscEqNu92dI4eaDYGhphzp8zntBbohpm/LBK3oJVteES5AxVVpmUzVIbg==","shasum":"f066ae4313542537b322177248545d498fbff986","tarball":"https://registry.npmjs.org/@1hirak/rtk-setup-next/-/rtk-setup-next-1.0.10.tgz","fileCount":3,"unpackedSize":12054,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIC7e6OkjDk3x8GV4wd9yzd97F04wcMsGu+RA4h5Rm07tAiBjrnk2c0zqbL5GGsFt1QpWKfxXArbSVuoBVVofCn5oLA=="}]},"_npmUser":{"name":"hirakdas","email":"jhirak83@gmail.com"},"directories":{},"maintainers":[{"name":"hirakdas","email":"jhirak83@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/rtk-setup-next_1.0.10_1748642070230_0.5209692004617645"},"_hasShrinkwrap":false}},"time":{"created":"2025-05-30T16:09:05.690Z","modified":"2025-05-30T21:54:30.885Z","1.0.0":"2025-05-30T16:09:05.951Z","1.0.1":"2025-05-30T16:10:53.098Z","1.0.2":"2025-05-30T17:42:29.025Z","1.0.3":"2025-05-30T19:21:49.407Z","1.0.4":"2025-05-30T19:26:52.159Z","1.0.5":"2025-05-30T20:39:00.056Z","1.0.6":"2025-05-30T20:56:39.341Z","1.0.7":"2025-05-30T21:06:03.565Z","1.0.8":"2025-05-30T21:20:04.283Z","1.0.9":"2025-05-30T21:25:52.109Z","1.0.10":"2025-05-30T21:54:30.400Z"},"bugs":{"url":"https://github.com/1hirak/rtk-setup-next/issues"},"author":{"name":"Hirakjyoti Das"},"license":"MIT","homepage":"https://github.com/1hirak/rtk-setup-next#readme","keywords":["redux-toolkit","nextjs","app-router","cli","state-management","boilerplate","react-redux","javascript","typescript","setup","configure","automation","frontend"],"repository":{"type":"git","url":"git+https://github.com/1hirak/rtk-setup-next.git"},"description":"A simple CLI tool to quickly set up Redux Toolkit in your Next.js 13+ App Router projects.","maintainers":[{"name":"hirakdas","email":"jhirak83@gmail.com"}],"readme":"# Redux Toolkit Next.js Setup\r\n\r\n[![npm version](https://badge.fury.io/js/@1hirak%2Frtk-setup-next.svg)](https://badge.fury.io/js/@1hirak%2Frtk-setup-next)\r\n[![License MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\r\n\r\nA simple CLI tool to quickly set up Redux Toolkit in your Next.js 13+ App Router projects.\r\n\r\n## Installation\r\n\r\n    npx @1hirak/rtk-setup-next\r\n\r\n    pnpm dlx @1hirak/rtk-setup-next\r\n\r\n## What it does\r\n\r\nThis tool automatically:\r\n\r\n* Installs Redux Toolkit and React Redux\r\n* Creates a basic store configuration\r\n* Sets up a demo counter slice\r\n* Creates an optimized Redux provider\r\n* Integrates everything into your Next.js layout\r\n\r\n## Generated files\r\n\r\n    src/app/\r\n    ├── layout.js (modified to include Redux provider)\r\n    └── redux/\r\n        ├── store.js\r\n        ├── provider.jsx\r\n        └── features/\r\n            └── demo/\r\n                └── demoSlice.js\r\n\r\n## Usage example\r\n\r\nAfter running the setup, you can use Redux in any client component:\r\n\r\n    'use client';\r\n    \r\n    import { useSelector, useDispatch } from 'react-redux';\r\n    import { increment, decrement } from './app/redux/features/demo/demoSlice';\r\n    \r\n    export default function Counter() {\r\n      const count = useSelector((state) => state.demo.value);\r\n      const dispatch = useDispatch();\r\n    \r\n      return (\r\n        <div>\r\n          <p>Count: {count}</p>\r\n          <button onClick={() => dispatch(increment())}>+</button>\r\n          <button onClick={() => dispatch(decrement())}>-</button>\r\n        </div>\r\n      );\r\n    }\r\n\r\n## Adding new slices\r\n\r\nCreate new slices in the `src/app/redux/features/` directory:\r\n\r\n    // src/app/redux/features/user/userSlice.js\r\n    import { createSlice } from '@reduxjs/toolkit';\r\n    \r\n    const userSlice = createSlice({\r\n      name: 'user',\r\n      initialState: { name: '', email: '' },\r\n      reducers: {\r\n        setUser: (state, action) => {\r\n          state.name = action.payload.name;\r\n          state.email = action.payload.email;\r\n        }\r\n      }\r\n    });\r\n    \r\n    export const { setUser } = userSlice.actions;\r\n    export default userSlice.reducer;\r\n\r\nThen add it to your store:\r\n\r\n    // src/app/redux/store.js\r\n    import { configureStore } from '@reduxjs/toolkit';\r\n    import demoReducer from './features/demo/demoSlice';\r\n    import userReducer from './features/user/userSlice';\r\n    \r\n    export const store = () => {\r\n      return configureStore({\r\n        reducer: {\r\n          demo: demoReducer,\r\n          user: userReducer\r\n        }\r\n      });\r\n    };\r\n\r\n## Requirements\r\n\r\n* Node.js 16+\r\n* Next.js 13+ with App Router\r\n* React 18+\r\n\r\n## Contributing\r\n\r\nIssues and pull requests are welcome on [GitHub](https://github.com/1hirak/rtk-setup-next).\r\n\r\n## License\r\n\r\nMIT","readmeFilename":"README.md"}