dotenv 0.1.3 dotenv: ^0.1.3 copied to clipboard
Load environment variables from a `.env` file.
dotenv #
Load environment variables at runtime from a .env
file.
usage #
See documentation.
cli #
Get the latest:
$ pub global activate dotenv
Run:
$ pub global run dotenv:new # create a `.env` file and add it to `.gitignore`
$ pub global run dotenv # load the file and print the environment to stdout
limitations #
Variable substitution and character escaping is a work in progress. Some cases don't work yet. Pull requests gleefully considered.
prior art
- bkeepers/dotenv (ruby)
- motdotla/dotenv (node)
- theskumar/python-dotenv (python)
- joho/godotenv (golang)
- slapresta/rust-dotenv (rust)
- chandu/dotenv (c#)
- tpope/lein-dotenv, rentpath/clj-dotenv (clojure)
- mefellows/sbt-dotenv (scala)
- greenspun/dotenv (half of common lisp)