sa

shortest-api

API client for connect with shorte.st

Showing:

Popularity

Downloads/wk

2

GitHub Stars

0

Maintenance

Last Commit

4yrs ago

Contributors

1

Package

Dependencies

1

Size (min+gzip)

1.6KB

License

MIT

Type Definitions

Tree-Shakeable

No?

Categories

Readme

shortest-api

Last version Build Status Coverage Status Dependency status Dev Dependencies Status NPM Status Donate

API Client for connect with shorte.st.

Install

$ npm install shortest-api --save

Usage

const shortestAPI = require('shortest-api')

const shortest = shortestAPI({
  token: 'MY_TOKEN'
})

shortest('https://kikobeats.com', function (err, shortenURL) {
  if (err) throw err
  console.log(shortenURL) // => 'http://sh.st/3s2xg'
  /* do something */
})

API

shortestAPI({options})

It creates an API client.

options

token

Required
Type: string

The service token.

License

MIT © Kiko Beats.

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100