npm install module-name -save
The wording, will add dependencies of dependencies package.json wrote
npm install module-name -save-dev
The wording, will add dependencies of written devDependencies package.json
(1) For the current project, the implementation of npm install, dependencies and all will depend on all the following devDependencies download.
(2) when released npm package, download the specified module-name, dependencies following dependencies are downloaded together.