Skip to content

Latest commit

 

History

History
51 lines (32 loc) · 1.96 KB

README.md

File metadata and controls

51 lines (32 loc) · 1.96 KB

create-ps

create-ps is a CLI tool which helps you to create the foundations for an npm package, saving you time from creating new files and folders.

NPM Weekly Downloads NPM version License Kofi Post


You can view a demo of create-ps here.

Installation

npm install -g create-ps

Usage

Navigate to your working directory and run the following command:

cps [packageName]

Note

By default, packages are set up to use EcmaScript (ESM). To use CommonJS (CJS), run the command with the --cjs option instead.

Make sure to replace [packageName] with the name of your package. Once the command is ran, select which files/directories you would like to include and fill out any prompts.

Configuring your package.json

You can also configure any new or pre-existing package.json with various information about the package by running the following command:

cps pkg-config

View more descriptive information and an exampls of this command here.

License

©️ 2024 · Licensed under the MIT License.