safe-pm

1.0.0 • Public • Published

Safe-PM

By Matthew Perlman and Rafayel Amirkhanyan


Why You Should Use Safe-PM?

As frequent node.js and NPM users, we always come accross the problem of installing dependencies in the incorrect directory, and having moments before we realize. So we made a small automation tool that wraps around node.js and helps prevent such small but annoying mistakes.


How To Install


npm install safe-pm

Only Supports Bash and ZSH


Commands

  • Help
  • Init
  • Install
  • Uninstall
  • Reset

Help

safe-pm help

Description

Lists all commands


Init

safe-pm init or safe-pm -y

Description

Initiliazes a package.json. Use -y to use NPM's default package.json template.


Install

safe-pm install <package-name> or safe-pm i <package-name>

Description

Installs dependency using NPM. Checks if package.json is present so that user does not install dependency in a wrong directory


Uninstall

safe-pm uninstall <package-name> or safe-pm ui <package-name>

Uninstalls dependency using NPM


Reset

safe-pm reset

Description

Deletes package.json, package-lock.json, and node_modules from current directory

Package Sidebar

Install

npm i safe-pm

Weekly Downloads

6

Version

1.0.0

License

MIT

Unpacked Size

12 kB

Total Files

15

Last publish

Collaborators

  • mattperlscode