Skip to content

captcha-proBehavioral Captcha Library

Lightweight, framework-agnostic slider & click verification — works on Web, Vue, React, mini-programs, Flutter, Android and iOS

captcha-pro

Quick Start

bash
# Install
pnpm add @captcha-pro/core

# Use
import { SliderCaptcha } from '@captcha-pro/core'

new SliderCaptcha({
  el: '#captcha',
  onSuccess: () => console.log('Passed!')
})

Multi-Platform Support

Captcha Pro supports 10+ platforms with consistent APIs:

PlatformPackageDescription
Web (Vanilla JS)@captcha-pro/coreCore package, works everywhere
Vue 2@captcha-pro/vue2Options API + Mixins
Vue 3@captcha-pro/vueComposition API + Composables
React@captcha-pro/reactHooks-based components
WeChat Mini-Program@captcha-pro/weixinWXML/WXSS/JS, backend-only
uni-app@captcha-pro/uniapp-vueVue cross-platform, backend-only
Taro 3@captcha-pro/taro-reactReact cross-platform, backend-only
Fluttercaptcha_proDart widgets
Androidcaptcha-sdkNative Kotlin SDK
Android Composecaptcha-composeJetpack Compose
iOSCaptchaProSwift SDK (UIKit + SwiftUI)

Why captcha-pro?

  • Multi-Platform — One API across 10+ platforms from web to native mobile
  • Zero Configuration — Sensible defaults, works out of the box
  • Two Verification Modes — Pure frontend, or server-side with image generation
  • Security First — AES-GCM encryption, timestamp validation, rate limiting, IP blacklist
  • Lightweight — ~35KB, no dependencies, IE11+ support
  • Accessible — ARIA attributes and keyboard navigation

Released under the MIT License.