filter-match
0.0.3 • Public • Published filter-match
Matching action filters by patterns
Install
Usage
const match = require('filter-match');
match('show', { only: ['show'] });
match('show', { except: ['show'] });
match.filter('show', [{
value: '1',
except: ['show']
}, {
value: '2',
only: ['show']
}]);
Package Sidebar
Install
Weekly Downloads