bauer-dom
0.2.2 • Public • Published bauer-dom
Wrapper for Cheerio that provides a simplified constructor and changes the context of callbacks to a Cheerio
object instead of raw element.
Installation
npm install bauer-dom
Usage
var dom = require("bauer-dom");
var urls = dom("<html>...</html>")
.find("a[href]")
.map(function() {
return this.attr("href");
});
License
MIT
Dependencies (2)
Dev Dependencies (1)
Package Sidebar
Install
Weekly Downloads