README
node-smallurl
Node.js library for SmallURL
Usage
var SmallURL = require("smallurl");
var shortener = new SmallURL(); // Accepts key as arg
shortener.shorten("http://google.com", function(err, url) {
console.log(url);
});
Installation
To install, just use npm.
npm install smallurl