View Source Dotenvy.Parser (Dotenvy v0.8.0)

This module handles the parsing of the contents of .env files into maps with string keys. See Dotenv File Format for details on the supported file format.

This implementation uses parsing over regular expressions for most of its work.

Link to this section Summary

Functions

Parse the given contents, substituting and merging with the given vars.

Link to this section Functions

Link to this function

parse(contents, vars \\ %{}, opts \\ [])

View Source

Parse the given contents, substituting and merging with the given vars.