get-url-title
TypeScript icon, indicating that this package has built-in type declarations

2.0.0 • Public • Published

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.

/get-url-title/

    Package Sidebar

    Install

    npm i get-url-title

    Weekly Downloads

    22

    Version

    2.0.0

    License

    MIT

    Unpacked Size

    3.45 kB

    Total Files

    6

    Last publish

    Collaborators

    • richienb