shorty-client

npm install shorty-client
1 downloads in the last week
1 downloads in the last month

shorty-client

A simple wrapper around superagent to shorten URLs.

Usage

var shorten = require('shorty-client')('http://shr.url');
// callback with arity = 2
shorten('http://google.com', function(err, url){
  // if an error occurs, url = 'http://google.com'
});
npm loves you