posthtml-parser-title
v0.1.1
Published
PostHTML plugin description
Downloads
10
Readme
posthtml-parser-title
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.