node-recursive-directory
Npm package to get directory files recursively
Usage:
Just list of files
const getFiles = ; async { const files = await ; console;}
Get list of files as object with parsed data:
const getFiles = ; async { const files = await ; // add true console;}
You will get something like that:
... fullpath: '/home/vvm/Downloads/images/Some/Some Image.jpg' filepath: '/home/vvm/Downloads/images/Some/' filename: 'Some Image.jpg' dirname: 'Some'