Published on December 22, 2016 by ProgrammingKnowledge

npm init [-f|–force|-y|–yes]
Description

This will ask you a bunch of questions, and then write a package.json for you.

It attempts to make reasonable guesses about what you want things to be set to, and then writes a package.json file with the options you’ve selected.

If you already have a package.json file, it’ll read that first, and default to the options in there.

It is strictly additive, so it does not delete options from your package.json without a really good reason to do so.

If you invoke it with -f, –force, -y, or –yes, it will use only defaults and not prompt you for any options.

Leave a Reply

3 Comments on "Node.js Tutorial for Beginners 18 – npm init & package.json File"

Notify of
avatar

Abdullah Nikzad
Guest
Abdullah Nikzad
4 months 29 days ago

its wpf c#i have done the login page successfully except,max 3 attempts, i don't know how to do max 3 attempts u knowi have to do deposit, withdraw, transfer funds, and pay billsthree forms, one login page, one for deposit, keypad etcthe other one for administratorthere u goATM.slnthats my file, i have to do with like that, once u open the file, u will know

Chiranjibi Panda
Guest
Chiranjibi Panda
5 months 1 day ago

how to create network connection alert for web based app in android studio? Sir, plz make a video on this. I am waiting for your answer.

Balb Mahal
Guest
Balb Mahal
5 months 3 days ago

1st

wpDiscuz