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

create-next-admin

v15.5.6

Published

NextJS Admin Dashboard ready to use

Downloads

28

Readme

Create Next Admin

Version License: MIT Twitter: daikiejp

A Next Admin Dashboard installer that uses NextJS as a framework, next-intl for internationalization, prisma as an ORM and nextAuth for authentication, ready to use.

Usage

npx

npx create-next-admin@latest --with-template

pnpm

pnpx dlx create-next-admin@latest --with-template

yarn

yarn create next-admin --with-template

bun

bunx create-next-admin@latest --with-template

or non-interactive mode:

npx create-next-admin@latest --name mydashboard --package npm --with-template

or

npx create-next-admin@latest -n mydashboard -p npm --with-template

Then, Go to Dashboard and register a new user.

  • If you want a very simple Auth Login without a dashboard sample just remove --with-template argument.

Dependencies

  • Next.js (React Framework)
  • TailwindCSS (CSS Framework)
  • Shadcn (UI Components collection)
  • next-intl (Internationalization)
  • next-themes (Theme provider)
  • Auth.js (Authentication)
  • Prisma (ORM)

NextJS Options

| Question | Answer | | ----------------- | ------ | | Typescript | ✅ Yes | | ESLint | ✅ Yes | | Tailwind CSS | ✅ Yes | | src/ directory | ❌ No | | App Router | ✅ Yes | | Turbopack | ✅ Yes | | import alias @/* | ✅ Yes |

Log out

Logout is implemented and functional in the sidebar menu. But if you want to implement it as a button for your project you can use the logoutButton.tsx component.

Deploy

If you want to deploy on Serverless provider such as Vercel you need change only one file at: prisma/schema.prisma

  1. You need change your "sqlite" into a "postgresql"
  2. You need add directUrl in order to work with prisma Your prisma config example:
...
datasource db {
provider = "postgresql"
url      = env("DATABASE_URL")
directUrl = env("DIRECT_URL")
}
...

Then in Vercel go to your Project Settings > Environment Variables you need have 3 environments:

  • AUTH_SECRET
  • DATABASE_URL
  • DIRECT_URL
  1. The Auth Secret you can generate a new one by: openssl rand -base64 32 or here: https://generate-secret.vercel.app/32
  2. The Database Url and Direct Url you can get from your database provider, example: Supabase

Todo

  1. Create a dynamic Breadcrumb using the url as path
  2. Admin section using role Admin
    ~~3. Create a better Dashboard with example data~~
    ~~4. Create a better Admin Area~~
    ~~5. Support internationalization for zod validations~~
    ~~6. Support install offline mode~~
    ~~7. Support non-interactive commands~~

Author

👤 Danny Davila

License

MIT License. Read more at LICENSE.md