Newline Proliferating Maniac

    kroom-js

    1.0.3 • Public • Published

    Kroom-JS

    A lightweight package to short your url´s

    Starting 🚀

    Pre-requisitos 📋

    What do i need to use this module?

    Node.js
    VS-code
    NPM
    Http module
    Https module
    (Http and Https modules are used to make the request on my server.)
    

    Instalación 🔧

    At first

    npm install --save kroom-js
    

    How works this module? ⚙️

    Well, this module works by making "GET" request to my API url shortener server and then processing the json response.

    EXAMPLE:

    var kroom = require('kroom-js');
    
    kroom.shorten('https://google.com', function(res, err) {
     if(err){
         console.error(err)
     }
    var data = JSON.parse(res)
    console.log(data.url) 
    console.log(data.status)
     
    });
    

    Build with🛠️

    Autors ✒️

    • Skitt - Unique Autor - skitt

    License 📄

    This project is under ISC license.


    ⌨️ with ❤️ by skitt 😊

    Install

    npm i kroom-js

    DownloadsWeekly Downloads

    4

    Version

    1.0.3

    License

    ISC

    Unpacked Size

    14.3 kB

    Total Files

    5

    Last publish

    Collaborators

    • skitt