JSPM

safe-pm

1.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2
  • Score
    100M100P100Q24439F
  • License MIT

NPM Safety and Automation

Package Exports

  • safe-pm

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (safe-pm) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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