@codigex/envnext
TypeScript icon, indicating that this package has built-in type declarations

3.0.0 • Public • Published

Envnext

CLI tool to read and parse .env files

Installation

npm install -D @codigex/envnext

Usage

Writes the contents of the .env file to a new file called ./environments/env.ts.

npx envnext -p .env -o ./environments -e ts

Writes the contents of all the .env.* files in ./envs to their respective destinations in the ./environments directory.

npx envnext -p ./envs -o ./environments -e ts

Options

  -p, --path <path>       # Path to the .env file or directory containing .env.* files. (default: ".env")
  -o, --output <path>     # Output directory for generated files. 
  -e, --ext <extension>   # File extension (js | ts) for generated files. (default: "ts")
  -h, --help              # Display help information.

Help

To see all available options and usage information, run the following command:

npx envnext --help

Readme

Keywords

none

Package Sidebar

Install

npm i @codigex/envnext

Weekly Downloads

85

Version

3.0.0

License

ISC

Unpacked Size

18.7 kB

Total Files

8

Last publish

Collaborators

  • kwabenabismark