Metaparser
A Cheerio helper library for my Node.js automation modules. Installed through NPM with:
npm install metaparser --save-dev
Simply require the module and execute it with an optional array of configuration.
- Source: HTML file to write to.
- Add: String, Array or Object of elements to add (literal elements)
- Remove: String, Array or Object of elements to remove (pseudo selectors)
- Callback: Function to execute upon completion (parameters are 'error' and 'html').
Defaults are shown below:
var metaparser = ;;
Example usage:
;
Data can be provided directly:
;