create-ps
v4.4.3
Published
Creates the foundations for an NPM package.
Downloads
40
Maintainers
Readme
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.
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.