wayneshorter
v0.1.3
Published
API wrapper for WayneShorter link shortening service
Downloads
19
Maintainers
Readme
WayneShorter API Wrapper
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"}
}