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 🙏

© 2025 – Pkg Stats / Ryan Hefner

create-nextgen

v1.0.10

Published

A CLI tool to scaffold projects using the NextGen template.

Readme

⚛️ nextgen_template

A modern, minimal, and scalable React + TypeScript + Webpack boilerplate built for developers who value performance and clarity.
Designed from scratch to include only what's essential, so you can build fast without bloat.


🚀 Features

  • Minimal Setup — No unnecessary dependencies. Just the essentials.
  • 📦 Custom Webpack 5 Config — Full control over your dev and production builds.
  • 🔠 TypeScript Ready — Type-safe development from the start.
  • ♻️ React 19 + React Refresh — HMR for a smooth developer experience.
  • 🧹 Pre-configured ESLint & Prettier — Keep your code consistent.
  • 📁 Predefined Folder Structure — Opinionated but flexible directory layout.
  • ⚙️ Optimized Scripts — Dev and production commands, formatting, and linting all ready-to-go.
  • 📊 Webpack Bundle Analyzer — Built-in support to analyze production bundle sizes.

📁 Folder Structure

.
├── public/
│   └── index.html
├── src/
│   ├── assets/
│   ├── components/       
│   ├── hooks/
│   ├── layouts/
│   ├── lib/
│   ├── pages/            
│   ├── routes/
│   ├── store/
│   ├── types/
│   ├── utils/
│   ├── App.tsx
│   ├── index.tsx         
│   ├── Meta.tsx
│   └── styles.css
├── webpack/
│   ├── webpack.common.js
│   ├── webpack.config.js
│   ├── webpack.dev.js
│   └── webpack.prod.js
├── .babelrc
├── .env
├── .gitignore
├── .prettierrc
├── .eslintrc.cjs
├── package.json
├── pnpm-lock.yaml
├── README.md
└── tsconfig.json

🧠 Notable Optimizations (Based on package.json)

  • Selective Dependencies: Only includes React, ReactDOM, and React Helmet for HTML management.
  • Efficient Tooling: Babel + TypeScript presets for fast transpilation.
  • Performance Tools: Webpack Bundle Analyzer for optimization insights.
  • Fast Pre-commit Hooks: lint-staged handles ESLint and Prettier before every commit.
  • Modular Webpack: Separate configurations for dev and prod environments.

🛠️ Getting Started

Requires PNPM globally: npm i -g pnpm

# Create a new app using this template
npm create nextgen my-app

# Navigate into the project directory
cd my-app

# Install dependencies
pnpm install

# Start the dev server
pnpm start

🔨 Build for Production

# Build for Production
pnpm build

# Navigate into the project directory
cd ./build/

# Serve the files
npx serve.

✨ Lint and Format Code

pnpm lint
pnpm format

📌 Roadmap / Upcoming Features

We’re working on adding support for more file types and tools:

  • [ ] ✅ SVG/Asset management
  • [ ] ✅ ENV config support
  • [ ] ✅ Built-in React Testing Library(to be included in the future versions)

If you want something to be included already in this template just go over to the GitHub Issues and raise an issue.
If it's genuine then we'll definitely include it, otherwise you can also configure it by yourself in your repo — it's built from scratch for full control.


🤝 Contributing

All contributions are welcome!

  1. Fork the project
  2. Create your feature branch (git checkout -b feat/something-cool)
  3. Commit your changes (git commit -m 'feat: add something cool')
  4. Push to the branch (git push origin feat/something-cool)
  5. Open a Pull Request

📃 License

MIT License

MIT License

Copyright (c) 2025

Permission is hereby granted, free of charge, to any person obtaining a copy
of this template and its associated documentation files, to deal in the template
without restriction, including without limitation the rights to use, copy, modify,
merge, publish, distribute, sublicense, and/or sell copies of the template,
and to permit persons to whom the template is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included
in all copies or substantial portions of the template.

THE TEMPLATE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES, OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT, OR OTHERWISE, ARISING FROM,
OUT OF, OR IN CONNECTION WITH THE TEMPLATE OR THE USE OR OTHER DEALINGS IN THE TEMPLATE.

🌟 Star the repo if you like it!

Thanks for checking out nextgen_template! Let's build better and faster together 🚀