An open API service indexing awesome lists of open source software.

https://github.com/azer/title-from-url

Generate a title from given URL
https://github.com/azer/title-from-url

Last synced: 12 months ago
JSON representation

Generate a title from given URL

Awesome Lists containing this project

README

          

## title-from-url

Generate a title from given URL

## Install

```bash
$ npm install title-from-url
```

## Usage

```js
var title = require('title-from-url')

title('http://wikipedia.org')
// => Wikipedia

title('https://encrypted.google.com/search?q=foo&bar=qux')
// => Search (q:foo, bar:qux) @ Encrypted, Google
```

see `test.js` for more info.