html_search

A really small package for searching in HTML.

import 'package:html_search/html_search.dart';

void main() =>
    print(htmlParse('<div><p>hi</p><p id="myparagraph">hi again</p></div>')
        .search((e) => e.id == 'myparagraph')
        .map((e) => e.outerHtml)
        .toList());

Libraries