thlorenz/prune-html — pull request #1 by paulmelnikow (2014-01-16 18:48:11+00:00)
Title: Extend pruneHtml to accept a filter function

Thanks for this great utility!

I'm pruning HTML templates based on attributes in a deployment script. The cheerio selectors don't support xpath but they have nice filter support, which lends itself to an easy solution. Test included.