programs.npm.settings

Home-Manager option

attribute set of (INI atom (null, bool, int, float or string) or a list of them for duplicate keys)

The user-specific npm configuration. See <https://docs.npmjs.com/cli/using-npm/config> and <https://docs.npmjs.com/cli/configuring-npm/npmrc> for more information.

type: attribute set of (INI atom (null, bool, int, float or string) or a list of them for duplicate keys)
Default
{ prefix = "\${HOME}/.npm"; }
Example
{ color = true; include = [ "dev" "prod" ]; init-license = "MIT"; prefix = "${HOME}/.npm"; }
declared in: <home-manager/modules/programs/npm.nix>source unavailable