2.0.0 • Published 4 years ago

get-url-title v2.0.0

Weekly downloads
15
License
MIT
Repository
github
Last release
4 years ago

Get URL Title Travis CI Build Status

Get the title of a URL.

NPM Badge

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.