node package manager
Orgs are free. Discover, share, and reuse code in your team. Create a free org »

url-amplifier

Build Status Img Img2

A small library that expands a URL that has been shortened by a service such as bit.ly and follows only one redirect.

Installation

npm install url-amplifier
 

Usage

var amp = require('url-amplifier');
 
setTimeout(function(){
    amp('https://goo.gl/ihmH9Y'); // Output: nitintulswani.com 
}, 1000);
 

Tests

npm test

Contributing

Add unit tests for any new or changed functionality

License

ISC