0.1.1 • Published 10 years ago

forqus-node v0.1.1

Weekly downloads
2
License
MIT
Repository
github
Last release
10 years ago

forqus-node

This library allows use of the forq.us URL shortener from node.

Example Usage

var Forqus = require('./index'),
    forqus = new Forqus('your-api-key');

forqus.shorten('https://some.url').then(function (result) {
    //shortened URL is in result.shortenedUrl
    console.log(result);
}).catch(function (err) {
    //oh no! something went wrong.
});