ab-fs-matcher
0.0.4 • Public • Published AB FS Matcher
const abFSMatcher = require('ab-fs-matcher');
abFSMatcher.getPaths('**/*.txt', (err, fsPaths) => {
});
abFSMatcher.getPaths([
'**/*.html',
'**/js/*.js',
], (err, fsPaths) => {
if (err) {
console.error(`Cannot get file paths.`);
return;
}
console.log(`Multiple anymatch patterns.`, )
});
abFSMatcher.getPathsPrmise('best_*.jpg')
.then((fsPaths) => {
console.log('Using promise:', fsPaths);
})
Versions
Current Tags
- VersionDownloads (Last 7 Days)
- 0.0.4
4
Version History
Package Sidebar
Install
Weekly Downloads