whorl
v0.3.3
Published
Try and figure out who is the author of a given URL.
Downloads
7
Maintainers
Readme
whorl ✏️❔
IPA: /huˌɑɹˈɛl/
⚠️ WORK IN PROGRESS ⚠️
Find out who the author(s) is/are from an input URL.
Installation
npm install --save whorl
Usage
const WHORL = require('whorl')
WHORL('http://www.nytimes.com/2007/05/13/us/13names.html')
.then((name) => {
console.log(name) // ⇒ 'The Associated Press'
})
If no author(s) can be deduced or the input URL is not valid, whorl
will return null
.
Accuracy
Read the latest test results.
API
whorl(url)
Returns a Promise
for an author String
.
url
Type: String
The URL for which to retrieve an author string.