2.0.1 • Published 4 years ago
minyapp v2.0.1
minyapp
A unofficial CLI tool to shorten links with miny.app
Example usage
- In code
const minyapp = require('minyapp');
var link = 'https://www.google.com/'
minyapp.shorten(link, (url, err) => {
if (err) throw err;
console.log(url); // https://miny.app/danl3
})
- As a CLI tool
This example assumes that you have already installed minyapp
as a global package with npm i -g minyapp
.
root@MyPC:~$ minyapp
Please enter the long URL: https://www.google.com/
Your short link is: https://miny.app/danl3
Warning
This tool was not made by the creators of miny.app, and it is not endorsed by them.