Skip to content

VardyNg/short-url-reverser-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

35 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

npm version NPM

short-url-reverser-js

A JavaScript library to reverse short URLs ๐Ÿ”—๐Ÿ”ฎ.

Features ๐Ÿค–

  • Reverse short url to its original url!

Installation ๐Ÿ“ฆ

npm install shorturl-reverser

or

yarn add shorturl-reverser

Usage

Import module

  const { reverser } = require('shorturl-reverser');
  import { reverser } from 'shorturl-reverser';

Use the function

  const url = await reverser('https://tinyurl.com/4hfst357');
  console.log(url); // https://www.youtube.com/watch?v=dQw4w9WgXcQ

Example

See examples.

Contribution guidelines ๐Ÿ“

Your contributions are always welcome! Even if it's just a typo or a missing comma, we'll appreciate it.

  • Fork the repository ๐Ÿด
  • Create a branch with your feature or bug fix ๐ŸŽ‹
  • Commit your changes ๐Ÿ’ฝ
  • Create a pull request ๐Ÿงฐ