Categories
JavaScript Answers

How to restore/reset npm configuration to default values with JavaScript?

Spread the love

To restore/reset npm configuration to default values with JavaScript, we run npm config delete.

For instance, we run

npm config delete registry

to delete the registry entry from the config to make npm use the default value for the registry config.

By John Au-Yeung

Web developer specializing in React, Vue, and front end development.

Leave a Reply

Your email address will not be published. Required fields are marked *