i run "npm install moment " in cmd and then node_modules folder created which contain moment module inside it.
But i found that package.json file also get dependency for moment module. Why pacakge.json get "moment" module dependencies in package.json file as i only run this command "npm install moment ". Dependencies is only created in package.json when i run this command "npm install moment --save".
Is npm latest version do not required --save command to store module dependencies in package.josn.
I mean is latest version of npm automatically add module dependencies in package.json file without typing –save command.