You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
var input = require("fs").readFileSync("/dev/stdin", "utf8"); console.log(input); 標準入力を表す特殊ファイル(/dev/stdin)をreadFileSyncで読み込みます。 メリット : 記述がかなりシンプル デメリット: /dev/stdinはUNIX系のOSでしか利用できないので、Windowsでは利用できない 2. process.stdinをreadlineモジュールを利用して読む process.stdin.setEncoding("utf8"); var lines = []; var reader = require("readline").createInterface({ input: process.stdin, }); reader.on("line", (line) => { //改
Expand: Runtime APIs Runtime APIs Expand: Bindings (env) Bindings (env) AI Open external link Analytics Engine Open external link Browser Rendering Open external link D1 Open external link Dispatcher (Workers for Platforms) Open external link Durable Objects Open external link Environment Variables Open external link Hyperdrive Open external link KV Open external link mTLS Queues Open external lin
Command-line API# Node.js comes with a variety of CLI options. These options expose built-in debugging, multiple ways to execute scripts, and other helpful runtime options. To view this documentation as a manual page in a terminal, run man node. Synopsis# node [options] [V8 options] [<program-entry-point> | -e "script" | -] [--] [arguments] node inspect [<program-entry-point> | -e "script" | <host
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く