Captcha

A framework-agnostic TypeScript library that unifies Google reCAPTCHA, hCaptcha, and Cloudflare Turnstile behind one clean implementation, letting you switch providers instantly without rewriting code. Deploy consistent bot protection across any JavaScript framework with automatic script loading and multiple widget support.

Framework Agnostic

Works with any JavaScript framework or vanilla HTML/CSS/JS

Easy Installation

Simple npm installation process with minimal configuration required

Multi-Provider Support

A unified TypeScript interface for four major CAPTCHA providers with seamless switching

Multi-Instance Ready

Supports multiple CAPTCHA widgets on the same page with independent state management