/kurzer-url

is.gd API wrapper for Node.js.

Primary LanguageJavaScriptMIT LicenseMIT

kurzer-url

is.gd API wrapper for Node.js.

Features

  • Short URL
  • URL stats

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);
  }
})();

Built With

Authors

Acknowledgments