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-app-template

v1.4.3

Published

This is a template set up to create Next.js App with fast speed and high performance<br/> The current template is provided in a **page routing** structure.<br/>

Readme

create-next-app-template

This is a template set up to create Next.js Apps with fast speed and high performance The current template is provided with a Page Route structure

Preview: You can check it here☝🏻

Getting Started

npx create-next-app-template my-app
cd my-app
npm run dev

Main Libraries Used

  • Language: Typescript
  • State: Recoil
  • Asynchronous State: TanStack Query v5
  • Api: Axios
  • Style(Css): Emotion/react
  • Authentication: NextAuth
  • Bundler Doctor: bundle-analyzer
  • SVG: @svgr/webpack
  • Layout: dble-layout

Design System (Widgets)

🗂️ Path: src > @widgets

These are widget templates that help with development They will take responsibility for your UI experience and work efficiency 🔥 Design UI widgets will be continuously updated and added in the future


Themes

🗂️ Root: src > lib > themes

🔥 These are style elements that help you quickly complete your UI

  • globalStyles: Manages styles that need to be set up by default globally
  • colors: A collection of sensible design colors
  • fontSize: Provides each font size in rem format
  • media: MediaQuery in a format that can be used immediately in CSS for each device's aspect ratio
  • styleSheet: StyleSheet for applying quick classes and emotion css

Utils

🗂️ Root: src > lib > utils

🔥 These are various utility functions that help with front-end development

  • enum: A collection for managing pre-set key, value in enum form

  • regEx: e.g., regEx.email.test(email) << A collection of frequently used regular expressions in a form that can be used immediately

  • scrollToRef: You can focus on the scroll position


Custom Hooks

🔎 Preview Custom Hooks ☝🏻

🗂️ Path: src > lib > hooks

🔥 These are a collection of custom hooks that help with development Custom hooks will be continuously updated!


SEO Optimization and Sitemap Generation Method

I'll tell you how to optimize and set up SEO, and how to create and set up dynamic and static sitemaps 🔥 This is an important part of exposing your website to search engines, so it's highly recommended to handle it!


🙏🏻 Precautions Before Deployment

Before deployment, please check and modify the following content appropriately, then build

  1. Enter your web service information in src > libs > site > site.ts

  2. Enter your website menu information in src > libs > site > menus.ts

  3. Modify and check next-sitemap.config.js according to your web service content

  4. Modify the app content, which is PWA information, in public > manifest.json

  5. (Optional) You can create an RSS in page > api > rss.ts >> Modify the content appropriately

  6. Process the npm run build command

  7. Sitemap information will be generated and deployed to public