lowlydba/sustainable-npm

🌱 Globally sets npm configurations to optimize speed and reduce CO₂ emissions.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
auditControls whether npm performs a security audit after installing packages. When set to false, npm will skip running the audit (default: false).nofalse
fundEnables or disables funding messages from npm. When disabled, npm will not display funding prompts (default: false).nofalse
progressDetermines if a progress bar is displayed during npm operations. Disabling the progress bar can help reduce log noise in CI environments (default: false).nofalse
update-notifierConfigures whether npm checks for updates to itself after executing commands. Disabling this can reduce unnecessary network requests (default: false).nofalse
prefer-offlineConfigures whether npm checks for staleness in cached data. Missing data will still be fetched online. Disabling this can reduce unnecessary network requests (default: false).notrue
loglevelSets the logging level for npm. Valid values include: silent, error, warn, http, info, verbose, and silly. For streamlined output, the default is set to 'error' (default: error).noerror
ignore-scriptsPrevents npm from running lifecycle scripts (e.g. postinstall) defined in packages. Reduces install time by skipping spawned processes, network calls, and compilations triggered by scripts. Also protects against supply chain attacks via malicious install scripts (default: true).notrue

no outputs