#TDevShortener - NodeJS Wrapper
NodeJS module to send a messages to TotenDev's URL Shortener
No installation is needed, just use TDevShortener.js
file.
Change on TDevShortener.js
file, the server Domain and port (It should be at beginnig):
//CONFIG
var TDShortenerDomain = "xxs.com";
var TDShortenerPort = 80;
##Usage
var Shortener = require('./TDevShortener.js');
Shortener("http://foo.com",function (okay,resp) {
if (okay) {
console.log("My shortened URL is: " + resp);
}
});
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
##License