Results: 1024
Default is
true
from NPM version 5.*
Installs all the packages listed in
dependencies
key inside
package.json
file
npm install
get --save flag default value
Shows
--save
flag default value
npm config get save  /  npm get save
set
--save
default as
false
npm config set save=false  /  npm set save=false
Installs package with
--save
flag as default (from npm version 5.*
--save
is default)
npm install moment
After installing the package, the following will be added to
pckage.json
file
"dependencies": {
    "moment": "^2.27.0"
  }
Deletes manually set default license (default license will become
ISC
)
npm config delete init-license
Deletes manually set default author name (default author will become empty string)
npm config delete init-author-name
get default license
Shows default value for license property
npm config get init-license  /  npm get init-license
Shows the default value for author
npm config get init-author-name
We can omit
config
keyword
npm get init-author-name
Sets default value for license property
npm config set init-license "MIT"  /  npm set init-license "MIT"
Results: 1024