UNPKG

algebraic-captcha

Version:

NodeJS math captcha package with algebraic formulas

19 lines (18 loc) 570 B
import { IParams } from './i-params'; export declare class Config { static readonly MODE_FORMULA: string; static readonly MODE_EQUATION: string; private _validated; constructor(params: IParams); readonly width: number; readonly height: number; readonly background: string; readonly minValue: number; readonly maxValue: number; readonly noise: number; readonly operandAmount: number; readonly operandTypes: string[]; isFormulaMode(): boolean; readonly targetSymbol: string; protected readonly schema: object; }