Chl.li JavaScript client
A JavaScript client for Chl.li url shortening api.
This package uses Axios for HTTP requests.
Installation
To install this package you can either use npm or GitHub:
npm install chl.li
or
git clone https://github.com/venomaze/chl.li.git
Usage
We have two main methods, the first one is shorten
and the second one is shortenMany
.
The first one is used to shorten just one URL at a time. Example:
const shortener = ; shortener ;
The second one can be used to shorten multiple URLs together. Example:
const shortener = ; shortener ;