エントリーの編集
エントリーの編集は全ユーザーに共通の機能です。
必ずガイドラインを一読の上ご利用ください。
記事へのコメント1件
- 注目コメント
- 新着コメント
注目コメント算出アルゴリズムの一部にLINEヤフー株式会社の「建設的コメント順位付けモデルAPI」を使用しています
- バナー広告なし
- ミュート機能あり
- ダークモード搭載
関連記事
Node.js v10.12.0からは再帰的にディレクトリを作成できる。|teitei.tk|note
Added a recursive option to fs.mkdir and fs.mkdirSync. If this option is set to true, non-existin... Added a recursive option to fs.mkdir and fs.mkdirSync. If this option is set to true, non-existing parent folders will be automatically created. #21875 resuceなどを使って作成していたのがoption指定で再帰的に作成をしてくれる。Linuxでいうと mkdir -p fs.mkdir(path[, options], callback)[src]# * path <string> | <Buffer> | <URL> * options <Object> | <integer> * recursive <boolean> Default: false * mode <integer> Not supported on Windows.
2018/10/19 リンク