@accelerated-software-development/caddy-api-client - v0.2.2
    Preparing search index...

    Function hashPasswordWithCaddy

    • Generate a bcrypt hash synchronously using Caddy's caddy hash-password command This is useful for generating hashes without the bcrypt npm module

      Parameters

      • password: string

        Plain text password

      Returns Promise<string>

      Promise resolving to bcrypt hash or instructions

      const hash = await hashPasswordWithCaddy("my-password");