LoginSignup
1
0

More than 1 year has passed since last update.

npm initの-fオプションについて解説。どう変わる?

Last updated at Posted at 2019-03-24

npm initの-fオプションについて解説します。

npm initの-fオプションについて解説

たまに、技術記事などで
$ npm init -fを実行して下さい
と書かれているのを見たことがあると思います。(僕も時々使います。)
これは、通常$ npm initした時に出てくる質問に対して、全てエンターを押した場合と同じ様な動作をするコマンドになります。
npm initした後の質問に全てエンターを押すつもりの場合は、$ npm init -fを実行してね、と伝えた方が楽なのでよく使われます。
以上です。

終わりに

私は現在、Web3のサービスの開発をしています。詳しくはこちらの記事をご覧下さい。
無料でイーサリアムが当たる、Web3時代の寄付サイトを作った話

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0