JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 569
  • Score
    100M100P100Q98471F
  • License ISC

A simple command-line utility that lets you follow redirects to see where http URLs end up. Useful for shortened URLs.

Package Exports

  • follow-redirect-url

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (follow-redirect-url) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

follow-redirect-url

npm version

A simple command-line utility that lets you follow redirects to see where http URLs end up. Useful for shortened URLs.

Follows up to 20 redirects Default.

Also added User-Agent header to requests, some web address won't redirect without browsers information eg: https://fb.me

Installation

Install with npm globally:

npm install -g follow-redirect-url

Usage CLI:

follow https://bit.ly/2X7gCIT

CLI Result:

https://bit.ly/2X7gCIT -> 301
http://github.com/sthnaqvi/follow-redirect-url -> 301
https://github.com/sthnaqvi/follow-redirect-url -> 200