New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

kjujs

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

kjujs

![kju](https://kju-org.github.io/kju-header.png "kju")

latest
npmnpm
Version
0.0.2
Version published
Weekly downloads
5
400%
Maintainers
1
Weekly downloads
 
Created
Source

kju - open communication framework

kju

kju is an open and simple communication framework that works on a request <-> response pattern.

  • Any participator can create a request with a number of predefined responses.
  • Any participator can redeem a response for a given request

For detailed usage instructions, see the official Documentation

Get started

  • install via npm:
npm i kjujs --save
  • run it with node:
node index.js
// Running kju server on port 80

This will spin up your kju server

API

Your kju server will offer the following REST Endpints:

  • POST /creationToken - Generate a token for creating messages
  • POST /message?token=XXX - Create a message
  • GET /message/:messageId?token=XXX - Get a raw message
  • GET /message/:messageId/response/:responseId?token=XXX - Redeem a response
  • GET /message/:messageId/responses?token=XXX - Get all responses for a message

The following two API Endpoints can also be opened int he browser. kju will then render them with a tiny UI.

  • /message/:messageId?token=XXX

  • /message/:messageId/responses?token=XXX

FAQs

Package last updated on 25 Sep 2020

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