0.3.3 • Published 6 years ago
whorl v0.3.3
whorl ✏️❔
IPA: /huˌɑɹˈɛl/
⚠️ WORK IN PROGRESS ⚠️
Find out who the author(s) is/are from an input URL.
Installation
npm install --save whorlUsage
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.