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-sapmenc-app

v1.0.1

Published

Create boilerplates for client projects under SapMen C.

Readme

create-sapmenc-app

A CLI tool to bootstrap client projects with customized templates for Sapmen C.

Overview

create-sapmenc-app is a command-line tool that allows you to quickly scaffold new client projects with predefined templates. It provides an interactive experience to choose your preferred framework, TypeScript support, and additional features.

Features

  • 🚀 Quick project scaffolding
  • 🎯 Choose between React or Next.js
  • 🔄 TypeScript or JavaScript support
  • 📊 Prisma database integration for Next.js projects
  • 🎨 Consistent project structure across all client work

Installation

# Using npx (recommended)
npx create-sapmenc-app

# Or install globally
npm install -g create-sapmenc-app
create-sapmenc-app

Usage

Simply run the command and follow the interactive prompts:

npx create-sapmenc-app

The CLI will guide you through the following options:

  1. Project Name: Name of your new project
  2. Framework: Choose between React or Next.js
  3. TypeScript: Enable TypeScript support
  4. Prisma (Next.js only): Set up Prisma for database access
  5. ShadCN UI: Set up ShadCN

After answering the prompts, the tool will:

  • Create a new directory with your project name or make neccessary files in the existing directory
  • Set up the selected template
  • Install dependencies
  • Configure additional tools if selected

Available Templates

React Templates

  • react - JavaScript React template with:

    • Create React App configuration
    • Sapmen C. component structure
    • ESLint and Prettier setup
  • react-ts - TypeScript React template with:

    • TypeScript configuration
    • Type definitions
    • All features from the JavaScript template
  • react-ts-shadcn - TypeScript React template with:

    • All features from the React + Typescript template
    • ShadCN UI setup

Next.js Templates

  • nextjs - JavaScript Next.js template with:

    • Pages router
    • API routes setup
    • Sapmen C. layout structure
  • nextjs-shadcn - TypeScript Next.js template with:

    • All features from the JavaScript template
    • ShadCN UI setup
  • nextjs-ts - TypeScript Next.js template with:

    • TypeScript configuration
    • Type definitions
    • All features from the JavaScript template
  • nextjs-ts-shadcn - TypeScript Next.js template with:

    • All features from the Next.js + TypeScript template
    • ShadCN UI setup
  • When selecting Prisma (with either JavaScript or TypeScript):

    • Prisma client setup
    • Basic schema with User model
    • Database connection configuration

Development

Local Development

# Clone the repository
git clone https://github.com/sapmenc/create-sapmenc-app.git
cd create-sapmenc-app

# Install dependencies
npm install

# Build the project
npm run build

# Create a symlink to test locally
npm link

# Run the CLI
create-sapmenc-app

Adding New Templates

Templates are stored in the templates/ directory. To add a new template:

  1. Create a new folder in templates/
  2. Add all necessary files for the template
  3. Update the CLI code to include the new template option

About Sapmen C.

This tool is maintained by Sapmen C. to standardize and accelerate client project setup.