Generates an SVG captcha with a mathematical expression.
Options for generating the captcha.
Optional
The height of the captcha image.
The width of the captcha image.
An object containing the captcha text and data.
import { generateSvgCaptcha } from "nsuite";const { text, data } = await generateSvgCaptcha({ width: 148, height: 48,}); Copy
import { generateSvgCaptcha } from "nsuite";const { text, data } = await generateSvgCaptcha({ width: 148, height: 48,});
Generates an SVG captcha with a mathematical expression.