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
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-urlUsage CLI:
follow https://bit.ly/2X7gCITCLI Result:
https://bit.ly/2X7gCIT -> 301
http://github.com/sthnaqvi/follow-redirect-url -> 301
https://github.com/sthnaqvi/follow-redirect-url -> 200