This package has been deprecated

Author message:

please use @caviar/sandbox-env-plugin instead

@caviar/plugin-sandbox-env

1.0.3 • Public • Published

Build Status Coverage

@caviar/plugin-sandbox-env

Caviar plugin to allow the sanbox to inherit extra environment variables from the current process

Install

$ npm i @caviar/plugin-sandbox-env

Usage

const EnvPlugin = require('@caviar/plugin-sandbox-env')

module.exports = {
  plugins: [
    // Allow sandbox to inherit `process.env.REDIS_HOST` of the parent process.
    new EnvPlugin(['REDIS_HOST'])
  ]
}

License

MIT

/@caviar/plugin-sandbox-env/

    Package Sidebar

    Install

    npm i @caviar/plugin-sandbox-env

    Weekly Downloads

    5

    Version

    1.0.3

    License

    MIT

    Unpacked Size

    4.07 kB

    Total Files

    5

    Last publish

    Collaborators

    • kael