File System 모듈 기본적으로 File System 모듈을 사용하기 위해서 require('fs')로 모듈을 포함시키게 된다. 파일 읽기는 동기식으로는 readFileSync함수를 사용하고 비동기식은 readFile함수를 사용한다. //File System을 위한 모듈 추출 var fs = require('fs'); //동기식 파일 읽기 try { var text = fs.readFileSync('textfile.txt', 'utf8'); console.log(text); } catch (e) { console.log(e); } //비동기식 파일 읽기 var text2 = fs.readFile('textfile.txt', 'utf8', function (error, data) { if (error..