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

@khalisoft/nexcl

v1.0.7

Published

Next.js CLI with built-in admin (/ctrl)

Readme

nexcl

npm version License: MIT

Next.js CLI with built-in admin panel — Scaffold production-ready Next.js apps with an optional /ctrl admin system in seconds.


Features

  • Next.js scaffolding — Creates apps with TypeScript, App Router, ESLint, and src/ directory
  • Optional /ctrl admin panel — Dashboard, Pages, Users, and Settings sections out of the box
  • Route protection — Middleware for /ctrl routes (ready for your auth logic)
  • Extra dependencies — Pre-installs axios and zustand for common use cases
  • Interactive prompts — Simple CLI flow to configure your project

Installation

# npm
npm install -g @khalisoft/nexcl

# pnpm
pnpm add -g @khalisoft/nexcl

# yarn
yarn global add @khalisoft/nexcl

Usage

nexcl [project-name]

If you omit the project name, you'll be prompted to enter one.

Example

nexcl my-app

You'll be asked:

  1. Project name — Defaults to my-app or the name you passed
  2. Include /ctrl admin panel?yes (default) or no

Then run your app:

cd my-app && npm run dev

What Gets Created

Base Next.js app

  • TypeScript
  • App Router
  • ESLint
  • src/ directory
  • Import alias @/*

With /ctrl admin (optional)

  • Layout — Sidebar navigation (Dashboard, Pages, Users, Settings)
  • Routes/ctrl, /ctrl/pages, /ctrl/users, /ctrl/settings
  • Middleware — Placeholder for admin route protection

Extra packages

  • axios — HTTP client
  • zustand — State management

Project Structure (with /ctrl)

my-app/
├── app/
│   ├── ctrl/
│   │   ├── layout.tsx
│   │   ├── page.tsx
│   │   ├── pages/page.tsx
│   │   ├── users/page.tsx
│   │   └── settings/page.tsx
│   └── ...
├── src/
│   └── middleware.ts
└── ...

Development

For contributors who want to run the CLI from source:

# Clone the repo
git clone https://github.com/khalisoft/nexcl.git
cd nexcl

# Install dependencies
pnpm install

# Run in dev mode (no build)
pnpm dev

# Build for release
pnpm build

Contributing

Contributions are welcome. Please open an issue or submit a pull request.


License

MIT © Devkaahl