https://github.com/vikjam/doenv
Load environment variables from a local .env file in Stata
https://github.com/vikjam/doenv
dotenv project-management stata
Last synced: 5 months ago
JSON representation
Load environment variables from a local .env file in Stata
- Host: GitHub
- URL: https://github.com/vikjam/doenv
- Owner: vikjam
- License: mit
- Created: 2018-02-15T01:46:29.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2021-10-01T22:38:44.000Z (over 4 years ago)
- Last Synced: 2025-07-02T21:45:58.113Z (12 months ago)
- Topics: dotenv, project-management, stata
- Language: Stata
- Homepage: https://vikjam.github.io/doenv/
- Size: 7.81 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# doenv
Load environment variables from a local .env file in Stata. A simplistic implementation of more sophisticated projects such as [dotenv (Ruby)](https://github.com/bkeepers/dotenv), [python-dotenv](https://github.com/bkeepers/dotenv), [dotenv (R)](https://github.com/gaborcsardi/dotenv) and [DotEnv.jl](https://github.com/vmari/DotEnv.jl).
## Example usage
Load an example .env file.
```{stata}
doenv using ".env"
display "`r(EXAMPLE_API_TOKEN)'"
```
## Installation
```{stata}
net install doenv, from(https://github.com/vikjam/doenv/raw/master/) replace
```