This is the command npm-prune that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator
PROGRAM:
NAME
npm-prune - Remove extraneous packages
SYNOPSIS
npm prune [[<@scope>/]<pkg>...] [--production]
DESCRIPTION
This command removes "extraneous" packages. If a package name is provided, then only
packages matching one of the supplied names are removed.
Extraneous packages are packages that are not listed on the parent packageĀ“s dependencies
list.
If the --production flag is specified or the NODE_ENV environment variable is set to
production, this command will remove the packages specified in your devDependencies.
Setting --production=false will negate NODE_ENV being set to production.
Use npm-prune online using onworks.net services