Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    shorty-clientpublic

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

    Keywords

    none

    install

    npm i shorty-client

    Downloadsweekly downloads

    5

    version

    0.0.1

    license

    none

    last publish

    collaborators

    • avatar