Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

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. 
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #npm #init
ADD COMMENT
Topic
Name
4+6 =