DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
how to read all files in a folder in node js
fs.readdir('./', (err, files) => { files.forEach(file => { // console.log(file); }});
PREVIOUS
NEXT
Tagged:
#read
#files
#folder
#node
#js
ADD COMMENT
Topic
COMMENT
Name
8+5 =
Submit