@karmaniverous/get-dotenv
    Preparing search index...

    Interface DotenvAssignmentSegment

    A KEY=VALUE assignment segment.

    Supports single-line and multi-line quoted values (double/single quotes).

    interface DotenvAssignmentSegment {
        eol: "" | "\n" | "\r\n";
        key: string;
        kind: "assignment";
        prefix: string;
        quote: "\"" | "'" | null;
        raw: string;
        separator: string;
        suffix: string;
        value: string;
        valuePadding: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    eol: "" | "\n" | "\r\n"

    Trailing EOL token for the last physical line of this segment. For segments that end at EOF without a trailing newline, this is ''.

    key: string

    The parsed key name (e.g., APP_SETTING).

    kind: "assignment"

    Segment kind.

    prefix: string

    Prefix before the key (indentation and optional export token). Preserved verbatim.

    quote: "\"" | "'" | null

    Quote style when the value was quoted in the source.

    raw: string

    Raw text for the segment, including EOL tokens.

    separator: string

    Separator including surrounding whitespace (e.g., " = " or "=").

    suffix: string

    Suffix after the value token on the closing line (typically inline comment + spaces). Preserved verbatim.

    value: string

    Value content (without surrounding quotes).

    Note: multiline values use \n internally regardless of file EOL.

    valuePadding: string

    Whitespace between separator and the start of the value token (preserved).