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-next-js-boilerplate

v16.0.7

Published

Next.js 16 Boilerplate with TypeScript, Chakra UI, ESLint, Prettier, Husky, and Cypress — a complete starter template to build fast, scalable, and modern web applications.

Readme

🚀 Next.js 16 Boilerplate – TypeScript, Chakra UI, ESLint, Prettier, Husky & Cypress

A complete Next.js 16 starter template configured with TypeScript, Chakra UI, ESLint, Prettier, Husky, and Cypress.
Perfect for developers who want to build fast, scalable, and modern web applications using the latest Next.js features.


🧩 About This Boilerplate

This project is a Next.js boilerplate built with TypeScript, Chakra UI, ESLint, Prettier, Husky, and Cypress — designed to help you start new projects quickly and with the best development experience.

It includes:

  • ⚙️ A clean, scalable architecture;
  • 🎨 Theming support (light/dark) with Chakra UI;
  • 🧪 E2E and component testing with Cypress;
  • ✅ Automated linting, formatting, and pre-commit checks;
  • 🚀 SEO-friendly configuration out of the box.

Get this starter project and maximize your experience as a developer!



🕰️ Old Versions


🧠 System Requirements

  • Node.js 22.x or later
  • macOS, Windows (including WSL), and Linux supported

💻 Technologies Used


🚀 Features of the Next.js 16 Boilerplate

  • ⚛️ Full Next.js setup (SSR, SSG, API routes, and more)
  • 🎨 Styling with Chakra UI
  • 🌓 Dark and light theme configuration
  • 🛠 TypeScript support
  • 📝 Linting and formatting via ESLint + Prettier
  • ✅ Pre-commit hooks with Husky + lint-staged
  • 🧪 E2E and component testing via Cypress
  • ✨ Absolute imports (~)
  • 📁 Minimal and organized folder structure
  • 🔍 SEO-friendly configuration
  • ⚡ Ready for production deployment

⚙️ Automatic Installation

1. Create a new project

yarn create next-js-boilerplate
# OR
npx create-next-js-boilerplate

2. Initialize Husky

yarn husky-install
# OR
npm run husky-install

3. Run the development server

yarn dev
# OR
npm run dev

Open http://localhost:3000 with your browser to see the result.
Edit pages/index.tsx — the page updates automatically as you save.


🧰 Manual Installation

1. Clone the repository

git clone https://github.com/AstrOOnauta/next-js-boilerplate.git

2. Install dependencies

yarn
# OR
npm install

3. Initialize Husky

yarn husky-install
# OR
npm run husky-install

4. Run the development server

yarn dev
# OR
npm run dev

Open http://localhost:3000 and start building!


🧑‍💻 Terminal Commands

| Command | Description | | --------------- | -------------------------------- | | dev | Runs the app on localhost:3000 | | build | Creates the production build | | start | Runs a production server | | prettier | Formats all files | | lint | Runs ESLint | | lint-staged | Lints only staged files | | husky-install | Initializes Husky | | type-check | Runs TypeScript checks | | cypress:open | Opens Cypress UI | | cypress:run | Runs Cypress tests in CLI |


💡 Why Use This Template?

  • Save hours of setup time — everything is pre-configured
  • Enforce code quality and consistency automatically
  • Start coding immediately with TypeScript + Chakra UI
  • Perfect for MVPs, startups, or production-grade apps
  • Compatible with macOS, Windows, and Linux

🤝 Contributing

Contributions are welcome!
Feel free to open an issue or submit a pull request to improve this Next.js boilerplate.


📜 License

This project is licensed under the ISC License.


📈 Keywords

nextjs boilerplate, next.js starter template, next.js 16, typescript, chakra-ui, eslint, prettier, husky, lint-staged, cypress, react starter, frontend boilerplate, create next app