1.1.3 • Published 9 years ago

isgd v1.1.3

Weekly downloads
8,795
License
MIT
Repository
github
Last release
9 years ago

NPM

Is.gd Build Status

http://is.gd URL Shortener Node.js Module

Example Shorten:

First run npm install isgd to install the Is.gd package to your system.

var isgd = require('isgd');

isgd.shorten('http://google.com', function(res) {
	console.log(res); // Returns a shorter version of http://google.com - http://is.gd/OwycZW
});

isgd.custom('http://google.com', 'MyGoogleShortcut', function(res) {
	console.log(res); // If the custom URL of MyGoogleShortcut is actually available, it should return http://is.gd/MyGoogleShortcut
});

isgd.lookup('http://is.gd/OwycZW', function(res) {
	console.log(res); // Returns a longer version of http://is.gd/OwycZW - http://google.com
});

This Package Is Under The MIT License

1.1.3

9 years ago

1.1.2

10 years ago

1.1.1

10 years ago

1.1.0

10 years ago

1.0.9

10 years ago

1.0.8

10 years ago

1.0.7

10 years ago

1.0.6

10 years ago

1.0.5

10 years ago

1.0.4

10 years ago

1.0.2

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago