Skip to content

pantojs/panto-transformer-filter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

panto-transformer-filter

NPM version Downloads Build Status Dependency status Dev Dependency status Coverage Status

Filter transformer for panto.

panto.loadTransformer('filter');

panto.pick('**/*').filter({
    pattern: [/.js$/, filename => {
        return filename[0] === 'a';
    }, 'src/**/*']
}).read();

options

  • pattern: array|regexp|string|function