node-googl

0.0.2 • Public • Published

node-googl

A simple module for the goo.gl shortening service.

Getting Started

Install the module with: npm install node-googl

var googl = require('node-googl');
 
googl.shorten('https://github.com/deubaka/node-googl', 'your goo.gl API key', function(err, shortenedUrl) {
    if (err) {
        throw err;
    }
    
    console.log('Shortened URL: ' + shortenedUrl);
});

License

Copyright (c) 2016 Deuphil Kaufmann (deubaka)

Licensed under the MIT license.

/node-googl/

    Package Sidebar

    Install

    npm i node-googl

    Weekly Downloads

    0

    Version

    0.0.2

    License

    MIT

    Last publish

    Collaborators

    • deubaka