Skip to content

nulltask/unbitly

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

unbitly

Shortened URL extractor

Installation

npm:

$ npm install unbitly

Usage

var extract = require('unbitly');

extract('http://fb.me', function(err, url, stack) {
  if (err) return console.error(err);

  // url: https://www.facebook.com/
  // stack: [ 'http://www.facebook.com/', 'https://www.facebook.com/' ]
  console.log(url, stack);
});

License

The MIT License

Copyright (c) 2013 Seiya Konno <nulltask@gmail.com>

About

Shortened URL extractor

Resources

Stars

Watchers

Forks

Packages

No packages published