html-metadata-parser
html-metadata-parser copied to clipboard
Parsing existing HTML?
Are you open to PRs? If so, I'd like to add the utility to parse existing HTML returned other HTTP libraries to get meta tag information
const Meta = require('html-metadata-parser');
Meta.parseHtml(`<meta name="author" content="John Doe">`, (err, res) => {
// handle r es
})
It would be great.