shortmyurl

1.0.16 • Public • Published

Url Shortener For Reactjs

A simple npm package to shorten your long urls to short url for reactjs

#Installation

npm i shortmyurl

yarn add shortmyurl

pnpm add shortmyurl

#Usage 1


import shortener from "../node_modules/shortmyurl/";
async function shortenUrl() {
        const shortenedUrl = await shortener("https://www.google.com");
    }

      shortenUrl();


#Usage 2

import shortener from "../node_modules/shortmyurl/";

const shortenedUrl = shortener("https://www.google.com").then((res) => {
       const shortenedUrl = res;
    });

Package Sidebar

Install

npm i shortmyurl

Weekly Downloads

5

Version

1.0.16

License

ISC

Unpacked Size

2.77 kB

Total Files

3

Last publish

Collaborators

  • rsoorajs