NPM-PRUNE(3)

πŸ“¦ version 1.2.1, in nixos 26.05, nixpkgs unstable

✨ 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