Skip to content

Instantly share code, notes, and snippets.

@mariocesar
Last active February 9, 2023 15:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mariocesar/a32731301d8c71132af640715475c418 to your computer and use it in GitHub Desktop.
Save mariocesar/a32731301d8c71132af640715475c418 to your computer and use it in GitHub Desktop.
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