NPM-PRUNE(3)
β¨ NAME β¨ β the npm-prune(3) edition π
okay bestie, gather round: this is the manual page for npm-prune(3), and it's literally npm-prune - Remove extraneous packages. That's the whole main-character job: cleaning out the extra stuff. No cap.
π¦ SYNOPSIS π¦
like, the signature is exactly this, bestie:
npm.commands.prune([packages,] callback)
π DESCRIPTION π
This command removes "extraneous" packages. Yes, with the little quotes β it's giving "not on the list" energy π.
The first parameter is optional, and it specifies packages to be removed. So if you pass it, you're telling it which packages to prune, iykyk.
No packages are specified, then all packages will be checked β that's the default vibe: check everything π.
Extraneous packages are packages that are not listed on the parent package's dependencies list. Periodt. If it's not in the parent package's dependencies list, it's extraneous, and this command is coming for it π.
mwah π this page is from March 2017 and it's the NPM-PRUNE(3) manual page β periodt, bestie.
π¦ where this page comes from
- nixos 26.05: hueadm 1.2.1
- nixpkgs unstable: hueadm 1.2.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms