📅 You're Invited: Meet the Socket team at RSAC (April 28 – May 1).RSVP
Socket
Sign inDemoInstall
Socket

egg-alinode

Package Overview
Dependencies
Maintainers
3
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

egg-alinode

alinode plugin for egg

2.0.1
latest
Source
npm
Version published
Weekly downloads
3.4K
0.67%
Maintainers
3
Weekly downloads
 
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 11 Dec 2017

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