is.gd API wrapper for Node.js.
- Short URL
- URL stats
npm install kurzer-url
const Kurzer = require('kurzer-url');
const kurzer = new Kurzer();
(async () => {
try {
const shortUrl = await kurzer.short('https://google.com.br/');
console.log(shortUrl);
const statsUrl = await kurzer.stats('https://is.gd/YS736B');
console.log(statsUrl);
} catch (error) {
console.error(error);
}
})();