1.5.7 • Published 7 years ago

emoji-url-shortener v1.5.7

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

Shitty url shortener, emoji powered.

url-shortener

Deploy your own shitty url shortener.

Shitty, works well in heroku environment. It requires NodeJS and MongoDB.

Deploy

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