/bitly-client

Easily use BitLy in your JavaScript app

Primary LanguageJavaScript

BitLy JavaScript Client

Contact me on Codementor Made in Indonesia Build Status

Easily use BitLy in your browser.

Getting Started

  1. Install it

     $ npm install @kulkul/bitly-client
    
  2. Use it

import BitLyService from "@kulkul/bitly-client";

const bitLyService = new BitLyService('token')
const shortenedURL = await bitLyService.shorten('https://kulkul.tech')

console.log({ shortenedURL }); // https://bit.ly/<slug>

However, we have no support for making short URL with alias at this moment.