@karmaniverous/get-dotenv
    Preparing search index...
    • Filter an environment object using include/exclude lists.

      • If exclude is provided, keys in the list are removed.
      • If include is provided, only keys in the list are kept (applied after exclusion).

      Parameters

      • env: ProcessEnv

        Source environment object.

      • options: { exclude?: string[]; include?: string[] }

        Filtering options (include/exclude lists).

      Returns ProcessEnv

      A new environment object with keys filtered.