package dotenv

  1. Overview
  2. No Docs
Javascript's dotenv port to OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

dotenv-v0.0.3.tbz
sha256=b8b0745746db0b8c6dd6bff9de8b89512c657cc5e0d09f9ba29aa5561a07c517
sha512=de509d75d633ae992bca34bca6a2cf5e49368ba6b4a2ce58c377cd3661cd796ad3b9c3cc341ac827f76b3915495943019e79a90454d8da97f166e25c861da81c

Description

Small lib to allow storing config separate from code.

Dotenv loads variables from a file (named by default .env, hence the name) into the application environment. They can be read in Sys.env.

This allows for the user to reproduce the deployed environments locally, as if the application was deployed in said environments.

This is a port of JavaScript's Dotenv (https://github.com/motdotla/dotenv).

Published: 30 Apr 2020

Dependencies (6)

  1. dune >= "1.7"
  2. pcre
  3. uutf
  4. stdio
  5. base < "v0.17"
  6. ocaml >= "4.05"

Dev Dependencies

None

Used by

None

Conflicts

None

OCaml

Innovation. Community. Security.