π An API for generating CAPTCHAs from scratch (Node.js)
MIT License
My blog post: Let's Build a CAPTCHA Generator with Node.js
π Keep those nasty bots out with a home-grown CAPTCHA!
npm i
npm start
All routes default to 200x100 size unless specified.
/test/:width?/:height?/
/captcha/:width?/:height?/
{ "image": <data url>, "text": <validation text> }
Uses Jest to run integration tests.
npm test
n.b. CAPTCHAs are not accessible and in some cases not even effective.