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

@ahmedshakeel083/react-starter-kit

v0.0.5

Published

This template provides a minimal setup to get React with Typescript, Vite, HMR along with other features.

Downloads

35

Readme

React Starter Kit

This template provides a minimal setup to get React with Typescript, Vite, HMR along with other features.

Table of Contents

  • Features
  • Packages Installed
  • File Structure
  • Usage

Features

  • State Management - Redux Toolkit
  • Routing - React Router with createBrowserRouter
  • Styling - Shadcn Ui Components with Tailwind css
  • Testing - Testcases are written with vitest, jest
  • Linting - Eslint with Husky for pre-commit checks
  • Network Layer - network file using axios
  • Form Validation Schema - React Hook Forms using zod

Packages Installed

|Name|Usage | |--|--| |@hookform/resolvers |Forms creation with validation | |axios |Network Calls | |react-ga4 |Tracking in Google Analytics | |react-hook-form |Create Forms and Validate | |react-redux |State Management | |react-router-dom |To enable routing between internal pages| |tailwind-merge |Merge classes for same component | |zod |Form Validation | |vite |Development Build tool | |typescript |Type checks|

File Structure

├──.husky 
│   └── pre-commit		# Script to run before commit eg linting
├── public			# Can be used for assets incase of exceptions
├── src
│   ├── assets		# To manage and optimize all the images, fonts, etc
│   ├── components     	
│   │   ├── common 		# Reusable common components
│   │   ├── ui 			# Reusable shadcn ui components
│   ├── hooks			# Custom hooks
│   ├── lib
│   │   ├── constants		# constants throughout the project
│   │   └── utils      # shadcn ui utils
│   ├── network        # Network requests and API layer
│   ├── pages          # Pages or views
│   ├── state       # State management
│   │   ├── slices    # All the reducers/slices
│   │   └── store.ts   # All the reducers to be imported here
│   ├── tests          # Testcases
│   ├──  App.tsx            # App component with all routes
│   ├── index.css 		# For css variables and tailwind imports
│   ├── main.tsx		# Entry Point for the project
│   ├── output.css    # Tailwind css output file
├── .env.development       # development environment file
├── .env.production    # production environment file
├── .env.uat    # uat environment file
├── .eslintrc.json    #linting configuration
├── .gitignore          # Git Ignored folder and files name
├── .eslintrc          # ESLint configuration
├── components.json          # Shadcn ui components config
├── index.html          # Project HTML file
├── postcss.config.js          # Tailwind config using this file
├── tailwind.config.js          # Tailwind main config file
├── tsconfig.app.json          # typescript config file
├── tsconfig.typedoc.json          # Typedoc Config file
├── vite.config.ts          # Vite as build tool config
├── vitest.config.ts          # Vitest configuration
├── vitest.setup.ts          # Vitest configuration
├── README.md
└── package.json

Usage

  • To run the project in local
npm install && npm run dev
  • To run the project build
npm run build && npm run preview
  • To run testcases
npm run test
npm run coverage
  • To create a new typedoc after making changes to project or adding new types or new components
npm run docs
  • To run Storybook to checkout all the variants of the components
npm run storybook