whorl

Try and figure out who is the author of a given URL.

Usage no npm install needed!

<script type="module">
  import whorl from 'https://cdn.skypack.dev/whorl';
</script>

README

whorl ✏️❔

npm version Build Status Coverage Status Known Vulnerabilities Greenkeeper badge

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.