Skip to content

posthtml/posthtml-parser-title

Repository files navigation

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.

About

Block in title

Resources

License

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published