aws-process-env

1.3.7 • Public • Published

aws-process-env

This NPM module helps you fetch data from AWS parameter store and assign it to Process.env variable

aws-process-env

This NPM module helps you fetch data from AWS parameter store and assign it to Process.env variable

Installation

Install via npm

npm install aws-process-env

Getting Started

  • This module is most helpful when your program is using Parameter store to store environment variables and you need all variables available synchronously as soon as program starts.
  • Module will fetch all parameters and will store in Process.env variable.
  • It also supports cascading
  • You can call this module in main thread.

Example

  const aws = require('aws-process-env');
  aws.getProcessEnv('<AWS_REGION>', '<root path of Parameter store>');
Parameters default value
region US-EAST-1 Region where application is running
Root Path none Path of Parameter store. If none pass '/'

/aws-process-env/

    Package Sidebar

    Install

    npm i aws-process-env

    Weekly Downloads

    9

    Version

    1.3.7

    License

    BSD-3

    Unpacked Size

    5.79 kB

    Total Files

    4

    Last publish

    Collaborators

    • chetanraskar