Load .npmrc for current node version when switching
Author: kcrwfrdCreated Sep 16, 2026Updated Sep 16, 2026
Related to #370
My use-case is that I would like to set ignore-scripts=true in my ~/.npmrc for NPM versions < 11.16
For NPM >= 11.16 I would like to have strict-allow-scripts=true instead.
For NPM 12 I would like to omit these settings to allow the default behavior (skip install scripts with a warning message).
Source: Schniz/fnm