- Reverse short url to its original url!
npm install shorturl-reverser
or
yarn add shorturl-reverser
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
See examples.
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 ๐งฐ