Skip to content
URL unshortener for Node.js
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
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.

Something went wrong with that request. Please try again.