Resolve a shortened URI to track its path, number of redirects, and final destination
This project uses standard npm package structure. ResolveURI is currently configured to simply log the resolved URI, but can easily be changed to return the resolved URI to a function that calls it.
npm installThe process is scripted via package-json, so run
npm run start [your URI in quotes]If you would like to see additional options for loggin the number of redirects or the redirected URIs, see the comments at the top of Index.js
A URI with two redirects
