URL unshortener for Node.js
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitattributes
.gitignore
README.md
package.json
unshorten.js

README.md

Unshorten

A simple URL unshortener for Node.js.

Example usage

var unshorten = require('./unshorten.js');
unshorten('http://mths.be/unshorten', function(url) {
	console.log(url + ' is where it’s at!');
});

…or, via npm:

npm install unshorten

…and then:

var unshorten = require('unshorten');
unshorten('http://mths.be/unshorten', function(url) {
	console.log(url + ' is where it’s at!');
});

Credits

Made for fun (and to get more familiar with Node) by Mathias.