Skip to content

Pice.uninstall()

paige edited this page Jan 18, 2024 · 3 revisions

Info:

Type Return Type
uninstalls a given npm package

Function Sync

PiceCommand

Arguments:

  • ?pkg String
    name of the npm package you want to uninstall
    can also put arguments in the name as well if you need to
  • ?args Object
    arguments for the package
    possible arguments:
  • sync Boolean: if it'll run the command synchronously or not (dominant over async)
  • async Boolean: if it'll run the command asynchronously or not
  • global Boolean: if it should run globally or not
  • noSave Boolean: if it should prevent removing from dependencies ( --no-save )
  • save Boolean: if it should remove from dependencies ( --save )


JS
const pice = require('pice');

pice.uninstall("@stews/soup");


Pice Docs

πŸ›ˆ Pice

Methods



πŸ›ˆ PiceCommand

Methods

Properties


Clone this wiki locally