0.1.3 • Published 8 years ago

wayneshorter v0.1.3

Weekly downloads
2
License
GPL-3.0
Repository
github
Last release
8 years ago

WayneShorter API Wrapper Build Status

Simple library for using the WayneShorter API to generate shortened URLs.

Installation

npm install wayneshorter --save

Usage

var wayneshorter = require('wayneshorter');
wayneshorter.shorten('http://google.com', function(err, result) {
  // PARSED RESULT OBJECT
});

Example Output

{
  payload: "http://google.com",
  identifier: "4krJVcnux",
  shortlink: "http://shrtr.in/4krJVcnux"}  
}