Get Redirects
Get the urls redirected to when loading a url.
Install
npm install get-redirects
Usage
const getRedirects = ; async { await //=> ['https://www.google.com/'] await //=> ['http://www.richie-bendall.ml/', 'https://www.richie-bendall.ml/']}
API
getRedirects(url)
url
Type: string
The URL to check.