Skip to content

Latest commit

Β 

History

History
46 lines (31 loc) Β· 921 Bytes

readme.md

File metadata and controls

46 lines (31 loc) Β· 921 Bytes

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