0.2.2 • Published 10 years ago

bauer-dom v0.2.2

Weekly downloads
3
License
MIT
Repository
github
Last release
10 years ago

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");

// extract all link urls in the document
var urls = dom("<html>...</html>")
  .find("a[href]")
  .map(function() {
    return this.attr("href");
  });

License

MIT

0.2.2

10 years ago

0.2.1

10 years ago

0.2.0

10 years ago

0.1.2

11 years ago

0.1.1

11 years ago

0.1.0

11 years ago