unshort-url

1.1.0 • Public • Published

unshort-url

A Node.js helper for getting full url from short ones.

Instalation

npm i -S unshort-url

And in the file where you will use it, just type:

 
const unshort = require('unshort-url');
 
unshort(<url>)
  .then((<full-url>) => console.log(<full-url>))

Tested with:

Ghipy short urls: http://gph.is/13K9ldQ

Google short urls: https://goo.gl/CQToH4

Package Sidebar

Install

npm i unshort-url

Weekly Downloads

1

Version

1.1.0

License

MIT

Last publish

Collaborators

  • charlieegarcia