Skip to content

hedronium/url-shorty

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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');

Releases

No releases published

Packages

No packages published