“npm init y” Respostas de código

npm init y

npm init -y
//will simply generate an empty npm project without going through an interactive process.
//The -y flag when passed to NPM commands tells the generator to use the defaults instead of asking questions.
//The -y stands for yes. 
Revision Only

NPM Init padrão

npm config ls -l	# List some default settings

npm config set <key> <value> -g	# Set default value for a key
npm config set init-author-name "John Doe" -g	# Set default author
npm config set init-version "1.0.0" -g	# Set default version
npm config set init-license "MIT" -g	# Set default license

npm config get <key>	# Get default value for a key

npm init -y	# Create package.json with default settings
garzj

Respostas semelhantes a “npm init y”

Perguntas semelhantes a “npm init y”

Procure respostas de código populares por idioma

Procurar outros idiomas de código