Skip to content

Instantly share code, notes, and snippets.

@mariocesar
Last active February 9, 2023 15:12
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
NPM and Javascript fixes

NPM Configuration

See https://docs.npmjs.com/cli/v7/using-npm/config

Reduce the verbosity of messages when running npm

npm config set -g audit false
npm config set -g fund false
npm config set -g loglevel error
npm config set -g update-notifier false

If you are not picky about getting the latest indexes, this will make your environment faster

npm config set -g prefer-offline true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment