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

@webdevarif/create-next-app

v1.1.9

Published

A powerful CLI to scaffold Next.js projects with customizable features like authentication, internationalization, animations, and more.

Readme

@webdevarif/create-next-app

A powerful CLI tool to scaffold Next.js projects with customizable features like authentication, internationalization, animations, and more.

🚀 Features

  • Next.js 14 with TypeScript support
  • Authentication with NextAuth.js (Credentials + Google OAuth)
  • Database Integration with Prisma (MySQL)
  • Internationalization with next-intl
  • Animations with GSAP and Lenis
  • Data Fetching with SWR and Axios
  • State Management with Redux Toolkit
  • Loading Indicators with NProgress
  • UI Components with Tailwind CSS and Shadcn UI
  • Theme Support with next-themes
  • Toast Notifications with Sonner

📦 Installation

# Install globally
npm install -g @webdevarif/create-next-app

# Or use with npx
npx @webdevarif/create-next-app my-project

🎯 Usage

# Create a new project
npx @webdevarif/create-next-app my-awesome-project

# Or with npx
npx @webdevarif/create-next-app my-awesome-project

The CLI will guide you through selecting features:

  1. Project Name - Enter your project name
  2. Authentication - Choose authentication method
  3. Database - Select database integration
  4. Internationalization - Add multi-language support
  5. Animations - Include GSAP animations
  6. Data Fetching - Choose SWR or Axios
  7. State Management - Add Redux Toolkit
  8. Loading Indicators - Include NProgress
  9. UI Components - Select Tailwind CSS and Shadcn UI

🏗️ Project Structure

my-project/
├── src/
│   ├── app/
│   │   ├── (auth)/
│   │   │   ├── login/
│   │   │   └── register/
│   │   ├── (dashboard)/
│   │   │   └── dashboard/
│   │   ├── [locale]/
│   │   │   ├── login/
│   │   │   └── register/
│   │   ├── globals.css
│   │   ├── layout.tsx
│   │   └── page.tsx
│   ├── components/
│   │   ├── ui/
│   │   ├── animations/
│   │   └── providers/
│   ├── lib/
│   │   ├── auth.ts
│   │   ├── routes.ts
│   │   └── utils.ts
│   └── types/
├── prisma/
│   └── schema.prisma
├── messages/
│   ├── en.json
│   └── bn.json
├── package.json
├── tailwind.config.ts
├── next.config.mjs
└── tsconfig.json

🎨 Features in Detail

Authentication

  • NextAuth.js with credentials and Google OAuth
  • Protected routes and middleware
  • Session management

Database

  • Prisma ORM with MySQL
  • User schema and migrations
  • Database utilities

Internationalization

  • next-intl for multi-language support
  • Language switcher component
  • Locale-based routing

Animations

  • GSAP with ScrollTrigger
  • Lenis for smooth scrolling
  • Custom animation components

UI Components

  • Tailwind CSS for styling
  • Shadcn UI components
  • Dark/light theme support
  • Responsive design

🛠️ Development

# Clone the repository
git clone https://github.com/webdevarif/arif-create-next-app.git

# Install dependencies
npm install

# Run the CLI locally
npm start

# Or run directly
node src/cli.js

📝 Scripts

  • npm start - Run the CLI
  • npm test - Run tests (none configured)
  • npm run lint - Lint code (none configured)

🤝 Contributing

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

👨‍💻 Author

Arif

🙏 Acknowledgments

  • Next.js team for the amazing framework
  • Vercel for the deployment platform
  • All the open-source contributors

📊 Stats

npm version npm downloads license node version


Made with ❤️ by Arif