node package manager

co-googl url shortener for compoundjs

Just a simple wrapper for for compoundjs

  1. Add to autoload.js

  2. From there you can access node-googl methods in controller

    // Shorten a long url and output the result compound.googl.shorten('', function (shortUrl) { console.log(shortUrl); });

    // Set a developer key (see for more info.) compound.googl.setKey('aBcDeFGhIjKLMnOPqRsT');

    // Expand a url and output the result compound.googl.expand('', function (longUrl) { console.log(shortUrl); });