Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

easy-cli-cp

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

easy-cli-cp

easy component is a very small library that helps you create your component files without having to do it manually

latest
Source
npmnpm
Version
1.2.2
Version published
Maintainers
1
Created
Source

easy-cli-cp

easy-cli-cp is a lightweight CLI tool to quickly scaffold React components, Next.js pages, lists, and forms without writing boilerplate manually.

Technologies

  • commander
  • inquirer
  • colorette
  • fs/promises

Features

  • Generate React components
  • Generate Next.js pages
  • Generate List components
  • Generate Form components
  • Fully TypeScript-ready templates
  • Ask user for target path

Installation

npm i easy-cli-cp

Usage

1. Generate a Page

ecp p <page-name>
# or
ecp page <page-name>
  • Will ask for the path where you want to create the page.
  • Creates a Next.js page file with a basic template.

2. Generate a List Component

ecp l <list-name>
# or
ecp list <list-name>
  • Will ask for the path where you want to create the list component.
  • Checks if any file with List in its name already exists.
  • Generates a ready-to-use DataTable list component.

3. Generate a Form Component

ecp f <form-name>
# or
ecp form <form-name>
  • Will ask for the path where you want to create the form component.
  • Checks if any file with Form in its name already exists.
  • Generates a ready-to-use Form component using Formik and DynamicForm.

Keywords

cli

FAQs

Package last updated on 27 Sep 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts