UNPKG

url-metadata

Version:

Request a url and scrape the metadata from its HTML using Node.js or the browser.

13 lines (12 loc) 267 B
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>Metadata page</title> <meta name="author" content="foobar"> <meta name="keywords" content="HTML, CSS, JavaScript"> </head> <body> <h1>Metadata page</h1> </body> </html>