envjoy - v0.1.0
    Preparing search index...

    Function generateExample

    • Produce an .env.example from an actual .env, stripping values so only the key names (with empty placeholders) are committed. Comments and blank lines from the source are preserved to keep the example readable.

      Uses the real parser so multiline-quoted values are understood: a value that spans several lines collapses to a single KEY= line, and its continuation lines never leak through as phantom keys.

      Parameters

      • actualContent: string

      Returns string