Home

Awesome

dinli npm npm npm

JavaScript Style Guide

Wrapper for the Dinli URL Shortener

Requires Node 6+

Install

npm i -S dinli

Use

const dinli = require('dinli')

dinli('https://www.google.com/').then(result => {
  result.id // A1b2C3d4
  result.shortUrl // https://din.li/A1b2C3d4
})

License

MIT Copyright © Diego Rodríguez Baquero