Skip to content

JacobWPeterson/resolveURI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ResolveURI

Resolve a shortened URI to track its path, number of redirects, and final destination

Usage

Getting Started

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.

Install Dependencies (axios)

npm install

Testing a URI

The 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

Example

A URI with two redirects

example with two redirects

About

Resolve a shortened URI to track its path, number of redirects, and final destination

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published