shorten.js - a free url shortener

Shorten is a free url-shortener extending githubs internal url-shortener with the ability to shorten urls outside of githubs own domain.

Installation

<script type="text/javascript" src="https://cdn.rawgit.com/shorten/js/master/dist/0.0.2/shorten.js"></script>

api

shorten.url(longUrl, cb); // cb = function(err, shortenUrl)

used by

shorten.github.io