1.2.0 • Published 10 months ago

basic-captcha v1.2.0

Weekly downloads
-
License
ISC
Repository
-
Last release
10 months ago

This is a simple captcha implementation.

Usage:

Initialize the captcha engine

const s = SimpleCaptchaEngine(numberOfCharacters, backGroundColor, charactersToUse, fontList)

Get image data url (which can be embedded into any image component)

imageUrl = s.getImageUrlData()
imageUrl = s.getImageUrlData(true) //Add strokes to image

Validate user input

s.validateCaptcha(string) //compare user input to captcha image
1.2.0

10 months ago

1.1.0

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.2

1 year ago

1.0.3

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago