all-files

Find all files in directory recursively synchronously

all-files

Find all files in directory recursively synchronously

var allFiles = require("all-files")
 
var files = allFiles(__dirname)
console.log("files", files)

npm install all-files

  • Raynos