Monthly Downloads: 15
Programming language: Haskell
License: BSD 3-clause "New" or "Revised" License
Latest version: v184.108.40.206
read-env-var alternatives and similar packages
Based on the "read" category.
Alternatively, view read-env-var alternatives based on common mentions on social networks and blogs.
read-editor4.9 0.0 read-env-var VS read-editorOpens a temporary file on the system's EDITOR and returns the resulting edits
read-io1.3 0.0 read-env-var VS read-ioRead IO library
Do you think we are missing an alternative of read-env-var or a related project?
This Haskell module exports functions for safely reading environment variables.
>>> import System.ReadEnvVar (readEnvVarDef, setEnv) >>> setEnv "TEST_ENV_VAR" "1000" >>> readEnvDef "TEST_ENV_VAR" 5 :: IO Int 1000 >>> readEnvDef "THIS_ENV_VAR_WILL_NOT_EXIST" 5 :: IO Int 5
See the module documentation on Hackage for many more examples of usage.
*Note that all licence references and agreements mentioned in the read-env-var README section above are relevant to that project's source code only.