postxml-remove
v0.1.0
Published
PostXML plugin that remove elements by query selectors.
Downloads
3
Maintainers
Readme
postxml-remove
PostXML plugin that remove elements by query selectors.
Installation
npm i postxml-remove --save-dev
Usage
Options
selector
Query selector for removing
Type: String
Default: ''
Example
Input
<body>
<div class="remove"></div>
</body>
Options
{
selector: 'div.remove'
}
Output
<body>
</body>
Licence
MIT