﻿# config({ processEnv: … })

> Choose the environment object to read and populate

[Node.js config](/docs/sdk/nodejs/config/)

```javascript
dotenvx.config({ envs: [{ type: 'env', value: 'HELLO=World' }], processEnv: target })
```

## Usage

config reads and updates this object instead of process.env. get and parse read it for resolution without modifying it. Include PATH and provider settings when delegated custody is needed.

```javascript
const dotenvx = require('@dotenvx/dotenvx')
const target = {}
dotenvx.config({ envs: [{ type: 'env', value: 'HELLO=World' }], processEnv: target })
```
