Need help with som npm commands

Need help with som npm commands
0

#1

What does this commands do?

–save-optional
–save-exact
–save-bundle

Is it really important to know this commands or not?
By the way i am new to npm.


#2

They are useful, but not essential. They allow you to specify how to add the packages to package.json. See https://docs.npmjs.com/cli/install.