1.0.3 • Published 9 years ago
bit.ly v1.0.3
Installation
`npm install bit.ly`
Usage
var BitLy = require('bit.ly');
var bl = new BitLy('<username>', '<yourapikey>');
bl.shorten('http://google.com',function(err,res){
console.log(res);
});
bl.expand('http://bit.ly/1MhhTRk',function(err,res){
console.log(res);
});