shortlify

Bit.ly link generator

Usage no npm install needed!

<script type="module">
  import shortlify from 'https://cdn.skypack.dev/shortlify';
</script>

README

Shortlify

Get short links from Bit.ly

How to use

You need to get an API key from bit.ly and place it in the config.js

Code


var shortlify = new Shortlify('<API_KEY>')
var link = yield shortlify.getShortLink("http://duckduckgo.com")