kurzer-url
v4.0.0
Published
is.gd API wrapper for Node.js
Downloads
26
Maintainers
Readme
kurzer-url
is.gd API wrapper for Node.js.
Docs
Prerequisites
Installation
npm install kurzer-url
Example
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);
}
})();