A simple way to request single and multiple files
This is a simple way yo request single or multiple file in your node project.
const requestFiles = require('request-files');
consta fileList = [];
requestFiles('./**/*_some.js', (f) => fileList.push(f));
In a project I need to create several assignment to an object, but as the project grow this assignmento to the objet will have several files. In order to increase the project maintenance.
npm install @mvieira/request-files
Just run test with
npm test
At this time I am the only maintener of this project, if you see any improvement or bug fell free to create an issue or a pull request