I would like to get doctype with cheerio. Is it possible to do? I have
var createDOM = function(dom) { $ = cheerio.load(dom); return $('body'); }
and do $('doctype') but it is not work here. Any idea?
$('doctype')
No comments:
Post a Comment