Socket
Socket
Sign inDemoInstall

kue-admin-panel

Package Overview
Dependencies
409
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    kue-admin-panel

An admin panel of Kue.


Version published
Weekly downloads
8
increased by300%
Maintainers
1
Install size
25.8 MB
Created
Weekly downloads
 

Readme

Source

kue-admin-panel

npm version CircleCI

An admin panel of Kue based on WebSocket.

Installation

npm install kue-admin-panel

Screenshots

Example

more details...

const express = require('express');
const http = require('http');
const kue = require('kue');
const KueAdminPanel = require('kue-admin-panel');

const app = express();
const server = http.createServer(app);
const queue = kue.createQueue({
  redis: {
    host: 'localhost',
    port: 6379,
    auth: '',
    db: 1
  }
});

app.use('/kue', new KueAdminPanel({
  basePath: '/kue',
  verifyClient: (info, callback) => {
    // Do authorization for web socket.
    callback(true);
  },
  queue: queue,
  server: server
}));

// Launch server
server.listen(8000, 'localhost', () => {
  const {address, port} = server.address();
  console.log(`Server listening at http://${address}:${port}`);
});

Keywords

FAQs

Last updated on 18 Jun 2019

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