query-selector-all Usage const selector = require('query-selector-all'); selector('.my-list', list => { console.log(list); // You can bind a parent element selector('li', item => { console.log(item); // You also can get a array of elements var anchors = selector('a', null, item); }, list);}); License MIT © Nil Késede