dotenv 0.1.3+2 copy "dotenv: ^0.1.3+2" to clipboard
dotenv: ^0.1.3+2 copied to clipboard

outdatedDart 1 only

Load environment variables from a `.env` file.

dotenv #

Load environment variables at runtime from a .env file.

Pub Version Build Status Documentation

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
113
likes
0
pub points
96%
popularity

Publisher

verified publisherpracticalflutter.com

Load environment variables from a `.env` file.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

args

More

Packages that depend on dotenv