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

0.1.0 • Public • Published

get-page-title

Get the title of a page.

❗ This package is in development, it is buggy and may break.
❕ Don't forget to check this README as you upgrade.

Usage

// for TypeScript
import getPageTitle from 'get-page-title';
 
// for JavaScript
const getPageTitle = require('getPageTitle').default;
 
getPageTitle('http://example.com/').then(title => {
    console.log('Page title is:', title);
});

CLI Usage

$ get-page-title http://example.com/
> Example Domain

Readme

Keywords

Package Sidebar

Install

npm i get-page-title

Weekly Downloads

3

Version

0.1.0

License

MIT

Unpacked Size

4.35 kB

Total Files

12

Last publish

Collaborators

  • dogancelik