adf.ly

1.2.0 • Public • Published

Adf.ly shortener

This module allows you to shorten your URLs using Adf.ly. Link and earn money!

Installation

npm install adf.ly

Usage

var adfly=require("adf.ly")("YOUR_USER_ID","YOUR_PUBLIC_API_KEY"); // You will find your API key in adf.ly Tools section.
// var adfly=require("adf.ly")(); still works but you won't earn money

adfly.short("http://adrianarroyocalle.github.io",function(url){
    console.log("Short URL is: "+url);
});

Package Sidebar

Install

npm i adf.ly

Weekly Downloads

8

Version

1.2.0

License

MIT

Unpacked Size

2 kB

Total Files

4

Last publish

Collaborators

  • adrian.arroyocalle