npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

create-react-saga

v1.0.2

Published

A CLI tool to bootstrap your React-Redux-Saga app with configurable Webpack and storybook

Readme

NPM Downloads MadeWithReactJs.com shield

create-react-saga is a CLI tool for quickly setup your next clutter-free webpack backed React application. It provides you the latest hooks based codebase, testing utilities and storybooks. So if you are thinking of below -

  1. Create components ahead of development for early reviews.
  2. Want to use Redux-Saga middleware for async calls.
  3. Proper testing environment setup for React hooks.

Then you have come to the right place. You will get the most vanilla React experience ever. See the features section for detailed info.

📺 Demo

You can find the live demo of the running boilerplate over here

🚀 Features

  • Written in React 18 with hooks and functional components. Easy to clean bootstrapped codebase with minimal number of dependencies.
  • Latest and greatest Webpack 5. Configurations included for production and development environments.
  • Environment variables support to keep your secrets hidden.
  • JavaScript and TypeScript templates to choose from.
  • Less boilerplate code for state manamgement through @reduxjs/toolkit 💪.
  • Redux-Saga for async calls without polluting redux actions.
  • Redux devtool integration with trace enabled. Download browser extension to track saga calls. For example for Google Chrome you can find it over here.
  • Storybook.js to showcase your component ahead of feature development.
  • React Testing Library configured for unit testing with example test cases.

💻 Technology Stack

  • React 18
  • @reduxjs/toolkit
  • Redux-Saga
  • Webpack 5
  • Storybook.js
  • Jest
  • React Testing Library

📙 Documentation

npx create-react-saga --help will show you all available options.

Detailed version of the documentation can be found over here

🤔 How to use?

$ npx create-react-saga my-first-project
$ cd my-first-project
$ npm start

Open localhost:3000 in the Browser.

npm 5.2+ version is required for npx to work.

🌲 Project structure

create-react-saga will create below project structure -

my-first-project
├── .storybook
├── webpack.common.js
├── webpack.dev.js
├── webpack.prod.js
├── .babelrc
├── setupTests.js
├── jest.config.js
├── README.md
├── node_modules
├── package.json
├── .gitignore
├── assets
└── src
    ├── __mocks__
    ├── components
    ├── utils
    ├── store
    ├── types
    ├── hooks
    ├── App.ts
    ├── index.html
    ├── index.tsx
    └── index.css

✔ Production build

$ npm run build

Bundle files can be found in dist folder under root directory

📚 Storybook

$ npm run storybook

Open localhost:6006 in the Browser.

Donate

Create React Saga is an open-source project that I created to help myslef with some ready to use starter code. Then I published this CLI tool to help others as well. It takes lot of effort and time to add new features, provide support and maintain at the same time. Please consider donating if you think Create React Saga is helpful to you ub any way. I would be happy if you can -

Show ❤️ by starring this repo.

📑 License

Create React Saga is open source software licensed as MIT. The logo is licensed under a Creative Commons Attribution 4.0 International license.