こんにちは。ディレクターのエリカです。 こちらは、Node.jsという言葉を聞いて「何となくはわかるけど、実際にどんなものか触ったことがない」という初心者の方に向け、チュートリアル用モジュール「learnyounode」でエクササイズをしていくコーナーの第5回目です。 前回は、ファイルを非同期で読み取り、行数を出力する問題について紹介しましたが、今回はディレクトリを非同期で読み取り、ファイルをコンソールに出力する方法をご紹介します。 Node.jsを勉強したいと思っている人のキッカケや第一歩になれば幸いです。それでは早速はじめていきましょう。 FILTERED LS(Exercise 5 of 13) 「learnyounode」のインストールがまだの方は、こちらからどうぞ。 Node.js完全初心者向けチュートリアル用モジュール「learnyounode」を使ってみよう 問題 あるディレ