Skip to content

Commit

Permalink
23.NodeJS - 파일목록 알아내기
Browse files Browse the repository at this point in the history
  • Loading branch information
egoing committed Jun 2, 2018
1 parent b9305d9 commit 0c7d3aa
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions nodejs/readdir.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
var testFolder = './data';
var fs = require('fs');

fs.readdir(testFolder, function(error, filelist){
console.log(filelist);
})

0 comments on commit 0c7d3aa

Please sign in to comment.