ouo-promise
Shorten links using ouo.io and earn money with promises!
Install
$ npm install --save ouo-promise
Usage
const Ouoio = ; const o = 'YOUR_API_KEY'; // Fill in your API KEY here.// const o = new Ouoio(); // Or leave it blank. async { const sUrl = await o; console; const urls = 'https://www.facebook.com' 'https://github.com'; const sUrls = await o; console;};
APIs
.short(url)
Shorten a URL with promise.
.shortMany(arr)
Shorten an array of URL with promise.
License
MIT