deep-files
Get flatten array of files in a directrory recursively.
Install
Install with npm
npm i deep-files
Uses
This module takes two arguments, first of which is file path and second is a glob pattern, and returns array of matching files. See the example below
const deepFiles = requireconst files = deepFilesconsole.log