🚀 DAY 5 OF LAUNCH WEEK: Introducing Socket Firewall Enterprise.Learn more →
Socket
Book a DemoInstallSign in
Socket

@gaoding/egg-alinode

Package Overview
Dependencies
Maintainers
22
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@gaoding/egg-alinode

alinode plugin for egg

latest
Source
npmnpm
Version
2.0.1
Version published
Maintainers
22
Created
Source

egg-alinode

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

alinode plugin for egg.

Install

$ npm i egg-alinode

Usage

Enable this plugin

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

Add appid and secret from https://node.console.aliyun.com/

// config/config.default.js
exports.alinode = {
  enable: true,
  appid: 'my app id',
  secret: 'my app secret',
};

Start dispatch.js with NODE_LOG_DIR={logdir} and ENABLE_NODE_LOG=yes env:

$ ENABLE_NODE_LOG=yes NODE_LOG_DIR=/mylogdir/ alinode dispatch.js

If you use egg-scripts, the env is already set for you.

$ egg-scripts start

Questions & Suggestions

Please open an issue here.

License

MIT

Keywords

egg

FAQs

Package last updated on 10 Oct 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