emoji-url-shortener
v1.5.7
Published
Own your own url shortener as a service.
Downloads
26
Maintainers
Readme
Shitty url shortener, emoji powered.
Deploy your own shitty url shortener.
Shitty, works well in heroku environment. It requires NodeJS and MongoDB.
Usage In Command Line Interface
Install
npm i -g emoji-url-shortener;
Usage
shorten https://github.com 👎👍
Usage In Programmatic API
Install
npm i -S emoji-url-shortener
Usage
const Shortener = require('emoji-url-shortener');
const shorten = new Shortener();
shorten.pick({url: 'https://github.com/', emoji: '👎👍'})
.then(response => console.log(response))
.catch(error => console.log(error))