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

egg-arena

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

egg-arena

arena plugin for egg

  • 0.1.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
12
increased by300%
Maintainers
1
Weekly downloads
 
Created
Source

egg-arena

NPM version build status Test coverage David deps Known Vulnerabilities npm download

Egg Arena plugin.

Arena is an interactive UI dashboard for Bee Queue and Bull.

Install

$ npm i egg-arena --save

Usage

// {app_root}/config/plugin.js
exports.arena = {
  enable: true,
  package: 'egg-arena',
};

Configuration

// {app_root}/config/config.default.js
exports.arena = {
  // Required. To specify custom path to mount server on.
  router: '/arena',

  // Required. To configure queues.
  queues: [
    {
      name: 'my_queue', // Required. Name of the bull queue.
      hostId: 'Queue Server 1', // Required. Hostname or queue prefix.
      redis: {
        port: /* redis port */,
        host: /* redis host */,
        password: /* redis password */,
      },
    },

    // Optional. Execute middleware before routing.
    onPreArena: function* (ctx) {},
  ],
};

exports.middleware = [ 'arena' ];

Please see arena's queue configuration for more detail.

Questions & Suggestions

Please open an issue here.

License

MIT

Keywords

FAQs

Package last updated on 10 Jan 2019

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