node-cleanuri
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

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

Package Sidebar

Install

npm i node-cleanuri

Weekly Downloads

11

Version

1.0.1

License

MIT

Unpacked Size

7.5 kB

Total Files

6

Last publish

Collaborators

  • cstayyab