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

    shortlypublic

    shortly

    client for the bit.ly shortener (for now). more coming

    example

    var inspect = require('util').inspect;
    var shortly = require('shortly');
     
    // 
    // bit.ly 
    // 
    var bitly = new shortly.Bitly({ login: 'foo', key: 'bar' });
     
    bitly.clicks({ shortUrl: 'http://bit.ly/yerCKs' }, function (err, res) {
      console.log(inspect(res, true, 10));
    });
     
    // 
    // goo.gl 
    // 

    install

    $ npm install shortly

    usage

    bitly

    basically the supported api methods seen here are mapped to the bitly object and they all have the following signature:

    bitly.method(queryParams, callback)

    where callback is called with (err, response)

    Keywords

    none

    install

    npm i shortly

    Downloadsweekly downloads

    0

    version

    0.0.0

    license

    none

    repository

    github.com

    last publish

    collaborators

    • avatar