Logo create-ps
A command-line tool which helps you to create the foundations for an NPM package, saving you time from creating new files and folders for your packages.
npm install -g create-ps
After installing globally, run the command below in your project directory, which will give you a series of toggles to check. Check the ones that you would like to include, then clickEnterto confirm your choices.
# Replace [packageName] with the name of your package.
cps [packageName]
💡To use CommonJS instead of ESM, run the command with the--cjsflag.
If you need to, you can also configure yourpackage.jsonat any time. To do this, use thepkg-configargument, and edit different fields, right from the command line. Seeherefor more information on this command.

© 2024 /Inter•Read the post•