0.1.0 • Published 5 years ago
get-page-title v0.1.0
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
0.1.0
5 years ago