shelljs/shelljs

how to read console input

Open

#18 opened on 2012年6月11日

GitHub で見る
 (16 comments) (0 reactions) (0 assignees)JavaScript (777 forks)batch import
featurehelp wanted

Repository metrics

Stars
 (14,062 stars)
PR merge metrics
 (平均マージ 3d 12h) (30d で 2 merged PRs)

説明

following code snipper works using 'node' command, but not works using 'sjs' command

process.stdin.on('data', function (chunk) {
  process.stdout.write('data: ' + chunk);
}).resume();

コントリビューターガイド