@suluk/env - v0.2.0
    Preparing search index...

    Interface LoadOptions

    interface LoadOptions {
        content: string;
        privateKey?: string;
        target?: Record<string, string | undefined>;
        override?: boolean;
    }
    Index

    Properties

    content: string

    the .env file text (with encrypted tokens).

    privateKey?: string

    SULUK_PRIVATE_KEY — required iff any value is encrypted.

    target?: Record<string, string | undefined>

    where to inject (default: process.env when it exists). Pass an object to capture without touching the real env.

    override?: boolean

    overwrite keys already set in the target (default false — a real environment variable wins over the file).