shorty-client

0.0.1 • Public • Published

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'
});

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.1
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.1
    1

Package Sidebar

Install

npm i shorty-client

Weekly Downloads

1

Version

0.0.1

License

none

Last publish

Collaborators

  • rauchg