2.0.0 • Published 4 years ago
Get URL Title
Get the title of a URL.
Install
npm install get-url-title
Usage
const getUrlTitle = require("get-url-title")
await getUrlTitle("https://google.com")
//=> 'Google'
await getUrlTitle("https://example.com")
//=> 'Example Domain'
API
getUrlTitle(url)
url
Type: string
The url to get the title for.