An open API service indexing awesome lists of open source software.

https://github.com/sinedied/env2json

Export environment variables to JSON
https://github.com/sinedied/env2json

environment export json nodejs variable

Last synced: 7 months ago
JSON representation

Export environment variables to JSON

Awesome Lists containing this project

README

          

# env2json

[![NPM version](https://img.shields.io/npm/v/env2json.svg)](https://www.npmjs.com/package/env2json)
![Node version](https://img.shields.io/node/v/env2json.svg)
[![License](https://img.shields.io/npm/l/env2json.svg)](LICENSE)

> Export environment variables to JSON or JavaScript.

## Installation

```bash
npm install -g env2json
```

### Usage

```
Usage: env2json [ ...] [-o ] [-f json|js]

Options:
-o Export to specified file instead of stdout
-f json|js Output format, can be JSON or JavaScript
```