Skip to content

CLI Commands (JavaScript)

envoic scan [PATH]

OptionShortDefaultDescription
--depth-d5Maximum directory depth
--deepfalseCompute size/package metadata
--jsonfalseOutput JSON report
--stale-days90Days threshold for stale
--no-artifactsfalseDisable artifact detection

envoic list [PATH]

Compact node_modules listing.

OptionShortDefaultDescription
--depth-d5Maximum directory depth
--deepfalseCompute size metadata
--stale-days90Days threshold for stale

envoic info <NODE_MODULES_PATH>

Detailed report for a single node_modules directory.

envoic manage [PATH]

Interactive selection and deletion.

OptionShortDefaultDescription
--depth-d5Maximum directory depth
--stale-onlyfalsePreselect stale entries
--stale-days90Days threshold for stale
--dry-runfalsePreview only
--yes-yfalseSkip typed confirmation
--deepfalseCompute size metadata

envoic clean [PATH]

Non-interactive stale cleanup.

OptionShortDefaultDescription
--depth-d5Maximum directory depth
--stale-days90Days threshold for stale
--dry-runfalsePreview only
--yes-yfalseSkip typed confirmation
--deeptrueCompute size metadata

envoic version

Prints the installed version.

Released under the MIT License.