{"id":13552168,"url":"https://github.com/mockturtl/dotenv","last_synced_at":"2025-04-06T04:11:40.694Z","repository":{"id":30025238,"uuid":"33574122","full_name":"mockturtl/dotenv","owner":"mockturtl","description":"Loads environment variables from `.env`.","archived":false,"fork":false,"pushed_at":"2024-05-05T12:06:02.000Z","size":83,"stargazers_count":114,"open_issues_count":7,"forks_count":71,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-30T03:03:59.521Z","etag":null,"topics":["configuration","dart","dotenv","flutter"],"latest_commit_sha":null,"homepage":"https://pub.dartlang.org/packages/dotenv","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mockturtl.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-04-07T23:43:00.000Z","updated_at":"2025-03-21T02:34:26.000Z","dependencies_parsed_at":"2024-08-01T12:19:58.888Z","dependency_job_id":null,"html_url":"https://github.com/mockturtl/dotenv","commit_stats":null,"previous_names":[],"tags_count":18,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mockturtl%2Fdotenv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mockturtl%2Fdotenv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mockturtl%2Fdotenv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mockturtl%2Fdotenv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mockturtl","download_url":"https://codeload.github.com/mockturtl/dotenv/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247430871,"owners_count":20937874,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["configuration","dart","dotenv","flutter"],"created_at":"2024-08-01T12:02:00.027Z","updated_at":"2025-04-06T04:11:40.677Z","avatar_url":"https://github.com/mockturtl.png","language":"Dart","funding_links":[],"categories":["Dart"],"sub_categories":[],"readme":"dotenv\n======\n\nLoad environment variables at runtime from a `.env` file.\n\n[![Pub Version][pub-badge]][pub]\n[![Build Status][ci-badge]][ci]\n[![Documentation][dartdocs-badge]][dartdocs]\n[![style: tidy](https://img.shields.io/badge/style-tidy-43caf5.svg)][lint]\n\n\n[ci-badge]: https://github.com/mockturtl/dotenv/workflows/dotenv/badge.svg\n[ci]: https://github.com/mockturtl/dotenv/actions\n[lint]: https://pub.dev/packages/tidy\n[pub-badge]: https://img.shields.io/pub/v/dotenv.svg\n[pub]: https://pub.dartlang.org/packages/dotenv\n[dartdocs-badge]: https://img.shields.io/badge/dartdocs-reference-blue.svg\n[dartdocs]: http://www.dartdocs.org/documentation/dotenv/latest\n\n### about\n\nDeploying applications should be simple.  This implies constraints:\n\n\u003e **The [twelve-factor app][12fa] stores [config][cfg] in _environment variables_**\n\u003e (often shortened to _env vars_ or _env_). Env vars are easy to change\n\u003e between deploys without changing any code... they are a language- and\n\u003e OS-agnostic standard.\n\n[12fa]: http://www.12factor.net\n[cfg]: http://12factor.net/config\n\nAn _environment_ is the set of variables known to a process (say, `PATH`, `PORT`, ...).\nIt is desirable to mimic the production environment during development (testing,\nstaging, ...) by reading these values from a file.\n\nThis library parses that file and optionally merges its values with the built-in\n[`Platform.environment`][docs-io] map.\n\n[docs-io]: https://api.dartlang.org/apidocs/channels/stable/dartdoc-viewer/dart:io.Platform#id_environment\n\n### usage\n\nSee [documentation][usage] and [examples][].\n\n[usage]: http://www.dartdocs.org/documentation/dotenv/latest/index.html#dotenv/dotenv\n[examples]: https://github.com/mockturtl/dotenv/tree/master/example\n\n### cli\n\nGet the latest:\n\n```sh\n$ dart pub global activate dotenv\n```\n\nRun:\n\n```sh\n$ dart pub global run dotenv:new  # create a .env file and add it to .gitignore\n$ dart pub global run dotenv      # load the file and print only the file environment variables to stdout\n$ dart pub global run dotenv -p   # load the file and print all the environment variables to stdout\n```\n\n#### discussion\n\nUse the [issue tracker][tracker] for bug reports and feature requests.\n\nPull requests gleefully considered.\n\n[tracker]: https://github.com/mockturtl/dotenv/issues\n\n###### prior art\n\n- [bkeepers/dotenv][] (ruby)\n- [motdotla/dotenv][] (node)\n- [theskumar/python-dotenv][] (python)\n- [joho/godotenv][] (go)\n- [slapresta/rust-dotenv][] (rust)\n- [chandu/dotenv][] (c#)\n- [tpope/lein-dotenv][], [rentpath/clj-dotenv][] (clojure)\n- [mefellows/sbt-dotenv][] (scala)\n- [greenspun/dotenv][] (half of common lisp)\n\n[bkeepers/dotenv]: https://github.com/bkeepers/dotenv\n[motdotla/dotenv]: https://github.com/motdotla/dotenv\n[theskumar/python-dotenv]: https://github.com/theskumar/python-dotenv\n[joho/godotenv]: https://github.com/joho/godotenv\n[slapresta/rust-dotenv]: https://github.com/slapresta/rust-dotenv\n[chandu/dotenv]: https://github.com/Chandu/DotEnv\n[tpope/lein-dotenv]: https://github.com/tpope/lein-dotenv\n[rentpath/clj-dotenv]: https://github.com/rentpath/clj-dotenv\n[mefellows/sbt-dotenv]: https://github.com/mefellows/sbt-dotenv\n[greenspun/dotenv]: https://www.youtube.com/watch?v=pUjJU8Bbn3g\n\n###### license: [MIT](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmockturtl%2Fdotenv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmockturtl%2Fdotenv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmockturtl%2Fdotenv/lists"}