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

    Function resolveEnv

    • Resolve .env content to a plain { KEY: value } record with every encrypted value DECRYPTED. The runtime primitive: a Worker calls this with the committed .env text + the private key from a secret binding; a CLI calls it with the file + .env.keys. The key vars (SULUK_PUBLIC_KEY/PRIVATE_KEY) are never emitted.

      Parameters

      • content: string
      • OptionalprivateKey: string

      Returns Promise<Record<string, string>>