
Security News
Frontier AI Is Now Critical Infrastructure
The Fable shutdown shows how quickly model access can become a business continuity risk for AI-dependent engineering teams.
@captigo/core
Advanced tools
Core types and CaptchaAdapter contracts for Captigo — provider-agnostic CAPTCHA integration
Core types and adapter contracts for Captigo — a provider-agnostic CAPTCHA integration layer.
This package defines the shared types and the CaptchaAdapter / CaptchaWidget
interfaces that every captigo provider implements. You usually install it
alongside a provider package (Turnstile, hCaptcha, reCAPTCHA); it is also pulled
in automatically as a dependency of those adapters.
Use @captigo/core directly when you want to depend only on types, write helper
code against CaptchaAdapter, or share configuration between client and server
without importing a specific provider.
npm install @captigo/core
Most apps install an adapter as well; @captigo/core is also installed automatically as a dependency of @captigo/turnstile, @captigo/hcaptcha, @captigo/recaptcha, @captigo/react, @captigo/vue, and @captigo/nextjs.
npm install @captigo/core @captigo/turnstile
CaptchaToken, VerifyResult, VerifyOptions, AdapterMeta,
CaptchaMode, ProviderId, and related configuration types.CaptchaAdapter, CaptchaWidget, RenderOptions,
WidgetCallbacks, AdapterFactory.CaptchaError and CaptchaErrorCode.See the TypeScript definitions in dist/index.d.ts after build for the full API.
Provider factories return a CaptchaAdapter. Your app passes that adapter to
framework integrations (@captigo/react, @captigo/vue) or calls
adapter.render / adapter.verify yourself:
import type { CaptchaAdapter } from "@captigo/core";
import { turnstile } from "@captigo/turnstile";
const adapter: CaptchaAdapter = turnstile({ siteKey: "..." });
@captigo/react, @captigo/vue, or your own adapter.render() integration.verify / verifyToken from your backend only.FAQs
Core types and CaptchaAdapter contracts for Captigo — provider-agnostic CAPTCHA integration
We found that @captigo/core demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
The Fable shutdown shows how quickly model access can become a business continuity risk for AI-dependent engineering teams.

Security News
AI agents are pulling packages into environments no scanner is watching, creating exposure before security teams can see it.

Security News
GitHub Actions checkout now blocks risky pull_request_target checkouts by default to help prevent pwn request supply chain attacks.