Categories
Tips

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.

"terminal.integrated.shellArgs.windows": [
    "C:\\Windows\\System32\\cmd.exe /k nodevars.bat"
 ],
Categories
Tips

npm unset a registry

A registry is set using below command.
npm set registry http://www.thelittletechie.com:8080

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.
registry=http://www.thelittletechie.com:8080/

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