Module used to implement a Honeypot. A Honeypot is a visually hidden input that is used to detect spam bots. This field is expected to be left empty by users because they don't see it, but bots will fill it falling in the honeypot trap.

Constructors

Properties

Accessors

Methods

  • Get the HoneypotInputProps to be used in your forms.

    Parameters

    • options: { validFromTimestamp?: number } = {}

      The options for the input props.

      • OptionalvalidFromTimestamp?: number

        Since when the timestamp is valid.

    Returns Promise<HoneypotInputProps>

    The props to be used in the form.

  • Parameters

    Returns undefined | string