node package manager


Realurl Build Status

A simple command-line/module to convert short url's to the original url.

Getting Started

Install the module with: npm install realurl -g

I would recommend installing it globally so you can use it from the command line.

From the command line

$ realurl
Retrieving the real url for:
Real URL location:
Result has been copied to your clipboard

Within your NodeJS project

var realurl = require('realurl');
realurl.get('', function(error, result) {
   // error = null; 
   // result = ""; 
realurl.get('', function(error, result) {
   // error = Error('URL resulted in a 404'); 
   // result = null; 
realurl.get('', function(error, result) {
   // error = Error('Please specify a short url'); 
   // result = null; 


In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using grunt.

Release History

  • 2013/03/19 - v0.1.3 - Async support by @lukekarrys.
  • 2012/10/08 - v0.1.2 - Added copy to clipboard support.
  • 2012/10/03 - v0.1.1 - Fixed a bug regarding line endings...
  • 2012/10/02 - v0.1.0 - Initial release.


Copyright (c) 2012 Manuel van Rijn - Licensed under the MIT license. alpha