×
Clear all filters including search bar
Valeri Tandilashvili's NPM Notes
--save flag default valuenpm config get save / npm get save--save default as false npm config set save=false / npm set save=false--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"
}ISC)npm config delete init-licensenpm config delete init-author-namenpm config get init-license / npm get init-licensenpm config get init-author-name
We can omit config keywordnpm get init-author-namenpm config set init-license "MIT" / npm set init-license "MIT"package.json filenpm config set init-author-name "Va. Tand."
We can omit config keywordnpm set init-author-name "Va. Tand."package.json file that contains all of the settings and essential information for the application
Creates the file with the default valuesnpm init -y / npm init --yes