Skip to content

Creates the foundations for an NPM package.

License

Notifications You must be signed in to change notification settings

inttter/create-ps

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.