Introduction β
What is dotenv-subst
? β
A CLI tool and library for interpolating variables in any file, using .env
files (or any file structured as key=value
pairs) to define the replacement values.
It leverages Dotenvx to read variables values from file(s) and applies them to interpolate any provided static file(s). This allows you to use variables from key=value
configuration files in both runtime code and build-time filesβwhere it wouldn't be possible to access those variables from the runtime environment.
π§βπ» Contribution β
Contributions are welcome! Also please feel free to submit issues, bug reports, or requests in the Issues section.
βοΈ License β
This project is licensed under the BSD-3-Clause License. See the LICENSE file for details.