Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

kroom-js

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

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 ...

  • 1.0.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
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

Package last updated on 30 Jun 2021

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc