https://github.com/nitin42/url-amplifier
A small library that expands a URL that has been shortened by a service.
https://github.com/nitin42/url-amplifier
Last synced: 3 months ago
JSON representation
A small library that expands a URL that has been shortened by a service.
- Host: GitHub
- URL: https://github.com/nitin42/url-amplifier
- Owner: nitin42
- Created: 2016-10-10T20:08:32.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-11-13T18:58:29.000Z (over 8 years ago)
- Last Synced: 2025-01-12T23:11:20.050Z (5 months ago)
- Language: JavaScript
- Size: 6.84 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## url-amplifier
[](https://travis-ci.org/nitin42/url-amplifier)

A small library that expands a URL that has been shortened by a service such as [bit.ly](bit.ly) and follows only one redirect.
### Installation
```
npm install url-amplifier```
### Usage
```javascript
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