RunKit + npm: cheerio

node v15.14.0
endpointsharetweet
var cheerio = require("cheerio@1.0.0-rc.6") const $ = cheerio.load('<div><div class="foo">bar</div></div>',{ // change this to break/unbreak _useHtmlParser2: true, }); const el = $('.foo'); const html = el.html(); el.html(`<div>foobar</div>`); el.text()
Created from: https://npm.runkit.com/cheerio
Loading…