Full threadmambodog·The Yarn autoclean command also does something like this: https://yarnpkg.com/lang/en/docs/cli/autoclean/View on HN