egg-secret
Install
$ npm i egg-secret --save
Usage
// {app_root}/config/plugin.jsexportssecret = enable: true package: 'egg-secret';
Configuration
// {app_root}/config/config.default.jsexportssecret = url:'http://localhost';
see config/config.default.js for more detail.
Example
const secret = await ctx;
Questions & Suggestions
Please open an issue here.