If you accidentally execute npm i npm it adds npm as a dependency to the package.json and adds entries to the package-lock.json. it adds n
If you accidentally execute npm i npm it adds npm as a dependency to the package.json and adds entries to the package-lock.json. it adds n