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 🙏

© 2024 – Pkg Stats / Ryan Hefner

create-next-speed-template

v2.4.0

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/>

Downloads

806

Readme

Create Next Speed Template

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

🇰🇷 : 한국어 문서로 내용보기

Demo URL: This Click☝🏻 Please

Getting Started

npx create-next-speed-template my-app
cd my-app
yarn run dev

Use Important Library

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

Info

This template is set to Yarn Berry - Plug'n Play. We recommend that you use the template through the Yarn command 🙏🏻

⚙️ Yarn Berry Plug'n Play (PnP) enabled or disabled

yarn npm : .yarnrc.yml => nodeLinker: node-modules yarn pnp : .yarnrc.yml => nodeLinker: pnp

✅ Essential : Set up yarn berry

npm install -g yarn
yarn set version berry
yarn install

✔️ Optional : In Case of Type or Prettier Issue

Install Plug-In : ZipFS - a zip file system

yarn dlx @yarnpkg/sdks vscode
yarn add --dev --exact prettier

✔️ Optional : In the event of an Issue after the Yarn Run Build Command

yarn add @babel/runtime --dev
yarn cache clean
yarn set version berry
yarn install

Design Systems (Widgets)

🔎 Look Design Systems ☝🏻

🗂️ Root : src > _ui

Check out the finished design system widgets I'll be responsible for your UI experience and work efficiency 🔥 Design UI widgets will be updated and added continuously in the future


Themes

🗂️ Root : src > lib > themes

🔥 Each style element that helps you complete the ui quickly

  • colors : collection of sensuous design colors
  • fontSize: Each font size is provided in rem form
  • media : mediaQuery in which the screen ratio of each device can be used immediately in CSS
  • styleSheet: StyleSheet that can apply fast class and motion css

Utils

🗂️ Root : src > lib > utils

🔥 Various Util functions to help develop the front

  • enum : a collection for managing pre-set keys and values in enum form

  • regEx : ex) regEx.email.test(email) <<Collection of frequently used regular expressions available immediately


Custom Hooks

🔎 Look Custom Hooks ☝🏻

🗂️ Root : src > lib > hooks

🔥 It's a collection of custom hooks that help you develop Custom hooks will be constantly updated!


How to optimize SEO and Generate Sitemap

🔎 Look Create a Sitemap Method ☝🏻

I'll tell you how to optimize and set up SEO, and how to generate and set dynamic and static site maps 🔥 It's a very important part of website development, so I recommend you take care of it!


🙏🏻 Pre-Deployment Precautions

Make sure to check the contents below before deployment before building

  1. Modify the contents related to each seo and sitemap to suit the service

  2. Modify and check the next-sitemap.config.js to suit the service

  3. Modify and check the next.seo.config.js to suit the service

  4. Modify the app content related to PWA in public > manifest.json

  5. (Optional) You can create rss in page > api > rss.ts > modify the content

  6. ✅ yarn run build or npm run build >> Sitemap is live and distributed to the public