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

next-boil

v0.1.5

Published

CLI to bootstrap a Next.js starter pack

Downloads

314

Readme

next-boil

next-boil is a CLI tool to bootstrap your Next.js starter pack with ease. Clone a pre-configured template, customize it with options, and start your Next.js journey in seconds.

Features

  • Next.js 15
  • Tailwind CSS 3
  • shadcn-ui
  • TypeScript
  • ESLint
  • Prettier
  • Jest
  • Absolute Imports
  • Customizable Package Manager Support (npm, yarn, or pnpm)
  • Git Initialization

Requirements

  • Node.js >= 20.14.0
  • Yarn >= 1.22.18 (if using Yarn as your package manager)
  • pnpm >= 8.3.1 (if using pnpm as your package manager)

Installation

Install globally via npm:

npm install -g next-boil

Or, use it directly via npx:

npx next-boil my-next-app

Usage

Basic Usage

Run the CLI with a project name:

next-boil my-next-app

This will:

  • Create a directory named my-next-app.
  • Clone the default template from the repository.
  • Set up your project, ready for development.

Options

| Option | Description | |----------------------------|--------------------------------------------------| | -t, --template <url> | Specify a custom template repository URL | | -f, --force | Force overwrite existing non-empty directories | | -b, --base-dir <path> | Specify a base directory for project creation | | -p, --package-manager | Choose a package manager (npm, yarn, pnpm) | | --no-git | Skip git initialization | | --debug | Show detailed error stack for debugging purposes |

Examples

  1. Bootstrap with the default template:

    next-boil my-next-app
  2. Use a custom template:

    next-boil my-next-app --template https://github.com/user/my-template
  3. Force overwrite an existing directory:

    next-boil my-next-app --force
  4. Use a custom base directory:

    next-boil my-next-app --base-dir ~/projects
  5. Select a package manager (yarn, npm, or pnpm):

    next-boil my-next-app --package-manager yarn
  6. Skip Git initialization:

    next-boil my-next-app --no-git
  7. Debug issues with verbose error messages:

    next-boil my-next-app --debug

No Arguments?

Running next-boil without arguments displays the help menu:

next-boil

Next Steps

Once your project is set up, navigate to the project directory and start development:

cd my-next-app
npm install
npm run dev

If you selected a package manager like Yarn or PNPM, replace npm with your chosen package manager.

License

This project is licensed under the MIT License.