shink.in

1.0.1 • Public • Published

shink.in shortener

This module allows you to shorten your URLs using Shink.in. Link and earn money!

Installation

npm install shink.in

Usage

var sh=require("shink.in")("YOUR_ID_KEY","YOUR_AUTH_TOKEN"); // You will find your keys in Tools -> API section.
// var sh=require("shink.in")(); still works but you won't earn money

sh.short("http://adrianarroyocalle.github.io",function(url){
    console.log("Short URL is: "+url);
},ADULT_MODE); // Adult mode can be false (default) or true

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.1
    6
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.1
    6
  • 1.0.0
    0

Package Sidebar

Install

npm i shink.in

Weekly Downloads

6

Version

1.0.1

License

MIT

Last publish

Collaborators

  • adrian.arroyocalle