Have ideas to improve npm?Join in the discussion! »

    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);
        })
     

    Install

    npm i ab-fs-matcher

    DownloadsWeekly Downloads

    1

    Version

    0.0.4

    License

    MIT

    Unpacked Size

    5.39 kB

    Total Files

    5

    Last publish

    Collaborators

    • avatar