Skip to content

Latest commit

 

History

History
37 lines (28 loc) · 641 Bytes

readme.md

File metadata and controls

37 lines (28 loc) · 641 Bytes

url-shorty

A dependency less url shortner for nodejs

Installation

Grab it using npm

sudo npm install url-shorty

Usage

create short url with links

url_shorty = require('url-shorty');
url_shorty.encodeintstring62('https://google.com/',125);

decode short urls with return links

url_shorty = require('url-shorty');
url_shorty.decodeintstring62('https://google.com/','cb');

create short integers only

url_shorty = require('url-shorty');
url_shorty.encodeint62(125);

decode short integers only

url_shorty = require('url-shorty');
url_shorty.decodeint62('cb');