shortlink-checker
v1.0.1
Published
Check for shortlink and redirects
Downloads
6
Readme
Shortlink-checker
Check for Shortlink redirects.
Install
$ npm install shortlink-checker
Usage
var checker = require('shortlink-checker');
checker(url).then((err, result) => {
if (err) console.log(err); //err will return if there's an error
else if (result) console.log(`Redirected link: ${result}`);
else console.log('Provided link doesn\'t redirect');
})