json-to-env-pro
v1.0.4
Published
Convert JSON objects to .env files easily
Maintainers
Readme
json-to-env-pro
Convert JSON objects to .env files easily for Node.js projects.
Description
json-to-env-pro is a lightweight and easy-to-use Node.js package that converts JSON objects into .env environment variable files. Ideal for automating configuration management, local development, and deployment workflows.
Features
- Convert JSON objects or arrays to
.envformat. - Supports nested JSON with customizable key naming.
- Handles strings, numbers, and boolean values.
- Lightweight, zero-dependency, and fast.
- Option to write output directly to
.envfiles.
Installation
Using npm
npm install json-to-env-proUsage
$ json-to-env-pro config.json