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

corep-cli

v1.0.3

Published

A versatile command-line tool designed to streamline the creation of web development projects by generating structured templates for backend and frontend. Supports dynamic CRUD generation, page structures, and theme customization.

Readme

Core-Front Logo

CORE CLI

A versatile command-line tool designed to streamline the creation of web development projects with Core Framework

npm License

Overview

CORE CLI is an extension of the Core Framework ecosystem, designed to accelerate development workflows by providing a unified command-line interface for initializing and scaffolding backend and frontend projects. It comes pre-configured with standardized templates that follow the Core Framework's architectural patterns and best practices.

Why CORE CLI?

  • Accelerated Development: Generate complete CRUD operations in seconds
  • Consistent Architecture: Maintain structural consistency across projects
  • Dual Platform Support: Works seamlessly with both backend (REST) and frontend applications
  • Theme Support: Built-in light and dark theme implementations
  • Standardized Templates: Pre-configured project structures optimized for the Core Framework

Technology Stack

CORE CLI is built with:

TypeScript Node.js

CORE CLI is designed to work seamlessly across platforms:

  • Windows, macOS, and Linux compatible
  • Cross-platform path handling for filesystem operations
  • Enhanced terminal output with color-coded status messages

Installation

To install CORE CLI globally on your system, run:

npm install -g corep-cli

This makes the CLI available system-wide through the following aliases:

  • core
  • core-cli
  • cr

Project Configuration

Initializing a Config File

CORE CLI uses a .core-config file to manage project settings. Generate it with:

core-cli --init
# OR
core-cli -i

Configuration Examples

Backend Project

{
  "nameProject": "my-backend-project",
  "version": "1.0.0",
  "platform": "backend",
  "connectionConfig": "unit-connection"
}

Frontend Project

{
  "nameProject": "my-frontend-project",
  "version": "1.0.0",
  "platform": "frontend"
}

Configuration Options

| Field | Description | Values | |-------|-------------|--------| | nameProject | Project name used in various operations | Any string | | version | Current project version | Semantic versioning | | platform | Target platform | backend or frontend | | connectionConfig | (Backend only) Database connection type | global-connection or unit-connection |

Usage Guide

Command Structure

core-cli [command] [options]

Creating New Projects

CORE CLI allows you to quickly scaffold new projects based on the Core Framework templates:

Creating a new frontend project

core-cli new -n my-app

Creating a new backend project

core-cli new -p backend -n my-api

This will:

  1. Clone the official Core template repository
  2. Remove Git history to start fresh
  3. Configure the project with your custom name
  4. Create a .core-config file

After project creation, follow the suggested steps:

cd my-app
npm install
npm run dev

Creating Components in Existing Projects

For existing projects, you can generate new components with standardized structures:

Backend Components

# Create a CRUD component
core-cli -c crud -d src/core -n product

Frontend Components

# Create a basic page
core-cli -c page -d src/pages -n dashboard

# Create a form page
core-cli -c single-forms -d src/forms -n userProfile

# Create a page with theme support
core-cli -c page-tool -d src/pages -n products

Available Commands

| Command | Description | |---------|-------------| | new | Create a new project by cloning a Core template repository | | create or -c | Create component from template in existing project | | --init or -i | Initialize .core-config file in current directory |

Command Options

Options for new command

| Option | Alias | Description | Required | |--------|-------|-------------|----------| | --platform | -p | Target platform (backend or frontend) | No (defaults to frontend) | | --name | -n | Project name | Yes |

Options for create command

| Option | Alias | Description | Required | |--------|-------|-------------|----------| | --platform | -p | Target platform (backend or frontend) | No* | | --create | -c | Template type to create | Yes | | --directory | -d | Target directory for template | Yes | | --name | -n | Name for the template | Yes |

* Not required if the .core-config file was previously created with cr -i command

Available Templates

Backend Templates

| Template | Description | |----------|-------------| | crud | Complete CRUD model with advanced features |

Frontend Templates

| Template | Description | |----------|-------------| | page | Basic page structure following project conventions | | single-forms | Pages for managing single forms | | page-tool | Enhanced implementation with modern layout, CRUD support, and theme selector |

License

This project is licensed under the "Commons Clause". For more details, refer to the LICENSE.md file in the project repository.