folders | npm Docs
https://docs.npmjs.com/cli/v7/configuring-npm/folders/
When installing locally, npm first tries to find an appropriateprefix folder. This is so that npm install [email protected] will installto the sensible root of your package, even if you happen to have cdedinto some other folder. Starting at the $PWD, npm will walk up the folder tree checking for afolder that contains either a package.json file, or a node_m...
When installing locally, npm first tries to find an appropriateprefix folder. This is so that npm install [email protected] will installto the sensible root of your package, even if you happen to have cdedinto some other folder. Starting at the $PWD, npm will walk up the folder tree checking for afolder that contains either a package.json file, or a node_m...
DA: 95 PA: 2 MOZ Rank: 29