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

my-next-starter-cli

v1.0.1

Published

CLI to generate Next.js starter templates

Downloads

7

Readme

My Next.js Starter CLI

npm version

My Next.js Starter CLI is a command-line tool that helps you quickly generate Next.js starter projects with various configurations, including Tailwind CSS, Shadcn-UI, Clerk for authentication, and next-intl for localization. This CLI makes it easy to set up your Next.js project with the stack you prefer, saving time on initial setup.

Features

  • Choose your Stack: Select from different configurations like intl, intl-clerk, or intl-clerk-shadcn.
  • Custom App Name: Prompted to enter your custom app name during setup.
  • Simple Command: Easily generate projects using a single npx command.

Installation

No installation required! Use it directly with npx:

npx create-next-starter

Usage

When you run the command above, you'll be prompted to:

  1. Enter your app's name (e.g., my-awesome-app).
  2. Select the project template you want to use.

Example Workflow

  1. Run the CLI command:

    npx create-next-starter
  2. Follow the prompts:

    • App Name: You might enter something like my-cool-app.
    • Template Selection: Choose from the following:
      • intl: Next.js + Tailwind CSS + next-intl
      • intl-clerk: intl + Clerk for authentication
      • intl-clerk-shadcn: intl-clerk + Shadcn-UI for additional UI components
  3. The CLI will automatically create a new Next.js project based on your selections.

Example Output

? What is your app's name? my-cool-app
? Which version would you like to install? intl-clerk-shadcn
Running: npx create-next-app@latest --example https://github.com/username/my-next-starter#intl-clerk-shadcn my-cool-app

After running the command, you'll find your new Next.js project in the my-cool-app directory.

Available Templates

Here are the available templates you can choose from:

  1. intl: A basic starter with Next.js, Tailwind CSS, and next-intl for internationalization.
  2. intl-clerk: Adds Clerk authentication to the intl setup.
  3. intl-clerk-shadcn: Includes everything in intl-clerk, plus Shadcn-UI for a richer UI component library.

License

This project is licensed under the MIT License. See the LICENSE file for more details.