npm

shortlify

1.0.1 • Public • Published

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")
 

Package Sidebar

Install

npm i shortlify

Weekly Downloads

1

Version

1.0.1

License

MIT

Last publish

Collaborators

  • naughtyspirit