Socket
Socket
Sign inDemoInstall

kroom-js

Package Overview
Dependencies
62
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    kroom-js

A free url shortener using my own api, you can use this package to give a url short service in your discord bot, web, server ...


Version published
Weekly downloads
2
Maintainers
1
Created
Weekly downloads
 

Readme

Source

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🛠️

  • NodeJS -
  • Https -
  • Http -

Autors ✒️

  • Skitt - Unique Autor - skitt

License 📄

This project is under ISC license.


⌨️ with ❤️ by skitt 😊

Keywords

FAQs

Last updated on 30 Jun 2021

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc