postxml-remove PostXML plugin that remove elements by query selectors. Installation npm i postxml-remove --save-dev Usage Postxml 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