Node-Pick
Dom selection tool based on cheerio.js
Install
yarn add node-pick
Rule
const pickRule = title: selector: 'title' apple: selector: '.apple' '@text' list: selector: 'div' text: '@text' names: selector: 'ul > li' '@text' console
Output 🌈
TODO:
- more operators / custom operators
- add value type
- ...
License
MIT