← Back to the directory

caarlos0/env

View on GitHub

A simple, zero-dependencies library to parse environment variables into structs

caarlos0/env is #9,498 on the bestofgithub Elo ladder, in Copper III, with a rating of 1,318 (+18 this week). It has 6,365 stars, 7 gained in the last week.

Copper III

1,318 Elo

  • #9,498 on the ladder
  • −4 today · +18 this week
  • Peak 1,330
4 Elo to Copper II

Stars

6,365

  • +1 today
  • +7 this week
  • – this month

Repository

Forks
299
Language
Go
Last push

Achievements

bestofgithub badgeMaintainer? Show your league in your README

Card: your league's emblem, from Copper to Legendary

[![bestofgithub](https://bestofgithub.dev/badge/caarlos0/env.svg?style=card)](https://bestofgithub.dev/repo/caarlos0/env)

Flat: fits beside your other badges

[![bestofgithub](https://bestofgithub.dev/badge/caarlos0/env.svg)](https://bestofgithub.dev/repo/caarlos0/env)

Install

git
git clone https://github.com/caarlos0/env.git

Similar repositories

phpdotenv/phpdotenv

Open on GitHubPHP

Loads environment variables from `.env` to `getenv()`, `$_ENV` and `$_SERVER` automagically.

  • 1,433−5 Elo, change today
  • 13.5k stars
  • 668 forks
git
git clone https://github.com/phpdotenv/phpdotenv.git
  • configuration
  • dotenv
  • environment
  • environment-variables

google/jsonnet

Open on GitHubJsonnet

Jsonnet - The data templating language

  • 1,341−3 Elo, change today
  • 7.5k stars
  • 484 forks
git
git clone https://github.com/google/jsonnet.git
  • config
  • configuration
  • functional
  • json

joho/godotenv

Open on GitHubGo

A Go port of Ruby's dotenv library (Loads environment variables from .env files)

  • 1,420±0 Elo, change today
  • 10.6k stars
  • 469 forks
git
git clone https://github.com/joho/godotenv.git
  • dotenv
  • environment-variables
  • go
  • golang

theskumar/python-dotenv

Open on GitHubPython

Reads key-value pairs from a .env file and can set them as environment variables. It helps in developing applications following the 12-factor principles.

  • 1,407−5 Elo, change today
  • 8.9k stars
  • 619 forks
git
git clone https://github.com/theskumar/python-dotenv.git
  • 12-factor-app
  • configuration
  • devops-tools
  • dotenv

cue-lang/cue

Open on GitHubGo

The home of the CUE language! Validate and define text-based and dynamic configuration

  • 1,405−1 Elo, change today
  • 6.3k stars
  • 378 forks
git
git clone https://github.com/cue-lang/cue.git
  • configuration
  • data
  • kubernetes
  • validation

apple/pkl

Open on GitHubJava

A configuration as code language with rich validation and tooling.

  • 1,467+9 Elo, change today
  • 11.5k stars
  • 418 forks
git
git clone https://github.com/apple/pkl.git
  • config
  • configuration
  • data
  • functional

README

Loading README…