0.1.1 • Published 3 years ago

posthtml-parser-title v0.1.1

Weekly downloads
3
License
MIT
Repository
github
Last release
3 years ago

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.