「詳説 Node.js」(Cutt System刊; July 2020) 掲載のサンプルコードです。
- 第1章 操作編: REPL、コマンドラインオプション、モジュール
- 第2章 環境編: OS、プロセス、標準入出力、コンソール
- 第3章 ファイル編: バッファ、パス、ファイルシステム
- 第4章 HTTP編: HTTP、HTTPS、URL
- 第5章 構造編: エラー、タイマー、イベント、ユーティリティ
- 第6章 ネットワーク編: DNS、Net、UDP
- 第7章 並列処理編: Child Processes、Cluster、Worker Threads
SSLKeys
ディレクトリは、第4章の HTTPS サーバの作成で用いた自己署名証明書を収めています。詳細はこのディレクトリのREADME.txt
を参照してください。LoremIpsum.txt
は第2章などで、パラグラフ単位に分かれたやや長めのテキストを処理をしたときのサンプルファイルです。このファイルでなくてもサンプルコードは動作しますが、書籍とおなじ結果を得たいときにお使いください。
ご購入は amazon.co.jp honto, Yodobashi などからどうぞ。
Refer to My publication TOC for the English TOC.
- 2020-07-10: 出版
- 2022-05-02: jsdom (第4章) をアップデート