Last 12 weeks · 0 commits
4 of 6 standards met
This PR makes idempotent. I.e. if the directories added by are already present in the environment variable, they are not added twice. Otherwise, if Execa spawns a subprocess which spawns another subprocess (and so on), the final subprocess will end up with a long environment variable, which is slower for the OS to process since each directory is checked.
Repository: sindresorhus/npm-run-path. Description: Get your PATH prepended with locally installed binaries Stars: 110, Forks: 10. Primary language: JavaScript. Languages: JavaScript (79.4%), TypeScript (20.6%). License: MIT. Latest release: v6.0.0 (2y ago). Open PRs: 0, open issues: 0. Last activity: 1y ago. Community health: 85%. Top contributors: sindresorhus, ehmicky, BendingBender, coreyfarrell, thorn0, Richienb, ntwb.