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.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.2
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.2
    2
  • 0.0.1
    0

Package Sidebar

Install

npm i node-googl

Weekly Downloads

1

Version

0.0.2

License

MIT

Last publish

Collaborators

  • deubaka