Skip to content

ysdragon/dotenv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dotenv

An easy to use dotenv package for Ring

Ring

Features

  • Read environment variables from .env files.
  • Read environment variables from custom .env files.
  • Set config variables to the environment.
  • Unset config variables from the environment.

How to install?

Using Ring Package Manager ringpm

ringpm install dotenv

Example

load "dotenv.ring"

dotenv = new dotenv

// Load default .env file
dotenv.loadDefault()

testVar = dotenv.getEnv("USERNAME")

print(testVar)

License

This project is open-source and available under the MIT License. See the LICENSE file for more details.

About

An easy to use dotenv package for Ring.

Topics

Resources

License

Stars

Watchers

Forks

Languages

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy