posthtml-parser-title

0.1.1 • Public • Published

posthtml-parser-title

Actions Status NPM Coverage XO code style

Provides parsing of the title of the element. htmlparsin2 does not provide item parsing title, style, script in mode xmlMode.

Related issue:

Install

npm i posthtml-parser-title

Usage

const fs = require('fs');
const posthtml = require('posthtml');
const prserTitle = require('posthtml-parser-title');
 
posthtml()
    .use(prserTitle({ /* options */ }))
    .process(html/*, options */)
    .then(result => fs.writeFileSync('./after.html', result.html));

Contributing

See PostHTML Guidelines and contribution guide.

/posthtml-parser-title/

    Package Sidebar

    Install

    npm i posthtml-parser-title

    Weekly Downloads

    2

    Version

    0.1.1

    License

    MIT

    Unpacked Size

    11.2 kB

    Total Files

    20

    Last publish

    Collaborators

    • scrum