Neverending Perpetual Motion

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

    License

    MIT

    Keywords

    Install

    npm i bauer-dom

    DownloadsWeekly Downloads

    3

    Version

    0.2.2

    License

    MIT

    Last publish

    Collaborators

    • yneves