Integrate node.js command prompt in Visual Studio Code

Save the below line under User Settings in Visual Studio Code. Reload the editor. This will enable node.js terminal inside the editor.

"": [
    "C:\\Windows\\System32\\cmd.exe /k nodevars.bat"

npm unset a registry

A registry is set using below command.
npm set registry

To unset a registry type the below command in command prompt.
npm config edit

This opens a file in editor with the file name .npmrc which is the config file of npm.

Remove the registry line which you have set and save the file.

That’s it you have now removed the set registry.