/node-cleanuri

URL Shortening Library - Node.JS API Wrapper for CleanURI.com

Primary LanguageTypeScriptMIT LicenseMIT

Node-CleanURI

A Node.js wrapper for CleanURI.com API

Basic Example

import { shorten } from 'node-cleanuri';

let main = async () => {
    let short_url = await shorten(new URL("https://cstayyab.com"));
    console.log(short_url.toString());
}

main();

Output

https://cleanuri.com/jJW0jm