What is the difference between npm i and npm i -D?
I want to know the difference between npm i and npm i -D. How does it affect the program and change the functionality?
I know it installs in the devdependencies in the package.json file, but I want to know what is happening behind the scenes.