Skip to content

kulkultech/bitly-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Releases

No releases published

Packages

No packages published