postxml-remove

0.1.0 • Public • Published

postxml-remove

npm version

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

Package Sidebar

Install

npm i postxml-remove

Weekly Downloads

0

Version

0.1.0

License

MIT

Last publish

Collaborators

  • yepninja