I saw someone using
npm ci --cache ~/some-dir in a build script.
I couldn’t find any explanation of this
--cache flag in https://docs.npmjs.com/all or in
npm help install.
I guess it defines the location of the NPM cache but I’m still not clear on (a) what is the default value (b) what does it do if there’s a cache-miss, etc.
I’m using NPM 5.8.