﻿# get(undefined, { format: … })

> Format all resolved values as a string

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

```javascript
dotenvx.get(undefined, { format: 'eval-export' })
```

## Usage

Supported formats are eval, eval-export, shell, and colon. Omit the key to use formatting; a supplied key returns its value directly. Omit format to receive an object.

```javascript
const dotenvx = require('@dotenvx/dotenvx')
const result = dotenvx.get(undefined, { format: 'eval-export' })
```
