Nutritious Pumpkin Meal

    egg-secret

    1.0.2 • Public • Published

    egg-secret

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

    Install

    $ npm i egg-secret --save

    Usage

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

    Configuration

    // {app_root}/config/config.default.js
    exports.secret = {
      url:'http://localhost'
    };

    see config/config.default.js for more detail.

    Example

    const secret = await ctx.getSecret();

    Questions & Suggestions

    Please open an issue here.

    License

    MIT

    Install

    npm i egg-secret

    DownloadsWeekly Downloads

    0

    Version

    1.0.2

    License

    MIT

    Unpacked Size

    4.86 kB

    Total Files

    6

    Last publish

    Collaborators

    • amazingcaddy
    • minervadev