1.0.3 • Published 3 years ago

kroom-js v1.0.3

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

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 😊

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago