configuration

配置参数以 npm_config_ 前缀放入环境中。例如,您可以通过检查 npm_config_root 环境变量来查看有效的 root 配置。

Configuration parameters are put in the environment with the npm_config_ prefix. For instance, you can view the effective root config by checking the npm_config_root environment variable.