mirror of
https://github.com/bvanroll/rpiRadio.git
synced 2025-08-30 12:32:47 +00:00
11 lines
250 B
JavaScript
11 lines
250 B
JavaScript
var readdirp = require('..');
|
|
|
|
readdirp({ root: '.', fileFilter: '*.js' }, function (errors, res) {
|
|
if (errors) {
|
|
errors.forEach(function (err) {
|
|
console.error('Error: ', err);
|
|
});
|
|
}
|
|
console.log('all javascript files', res);
|
|
});
|