html-metadata-parser icon indicating copy to clipboard operation
html-metadata-parser copied to clipboard

Parsing existing HTML?

Open Furry opened this issue 5 years ago • 1 comments

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
})

Furry avatar May 22 '20 01:05 Furry

It would be great.

snifhex avatar Jul 17 '20 08:07 snifhex