-
pruneHtml(selectors, html, filter) → {string}
-
Prunes all elements matching the selectors from the given html and returns result.
Parameters:
Name Type Argument Description selectors
Array.<String> | String if one of these CSS selector(s) matches, the element is pruned
html
string unpruned html
filter
function <optional>
function which can be used to filter elements further. Inside the function,
this
refers to the current element.Returns:
the pruned html
- Type
- string
Maintenance
Commit Frequency
Further analysis of the maintenance status of prune-html based on released npm versions cadence, the repository activity, and other data points determined that its maintenance is Inactive.
An important project maintenance signal to consider for prune-html is that it hasn't seen any new versions released to npm in the past 12 months, and could be considered as a discontinued project, or that which receives low attention from its maintainers.
In the past month we didn't find any pull request activity or change in issues status has been detected for the GitHub repository.