{"repo":"edde746/svelte-captcha-enhance","free":true,"listed":false,"github":"https://github.com/edde746/svelte-captcha-enhance","clone":"git clone https://github.com/edde746/svelte-captcha-enhance.git","description":"Easily add captchas to SvelteKit forms","language":"TypeScript","stars":23,"topics":["forms","recaptcha","sveltekit","captcha","hcaptcha","turnstile"],"license":"GPL-3.0","category":"saas-starters-boilerplates","readme_excerpt":"svelte-captcha-enhance A lightweight SvelteKit utility that adds CAPTCHA protection to your forms with progressive enhancement. Supports reCAPTCHA v3, hCaptcha, and Cloudflare Turnstile. Features - 🔒 Multiple CAPTCHA providers : reCAPTCHA v3, hCaptcha, and Cloudflare Turnstile - 📦 Easy integration : Extends SvelteKit's enhance function with CAPTCHA support - 🎯 TypeScript support : Fully typed for better developer experience - 🪶 Lightweight : Minimal bundle size impact Installation Quick Start reCAPTCHA v3 hCaptcha Cloudflare Turnstile API Reference Configuration Options Common Options Option Type Description -------- ------ ------------- submit SubmitFunction Optional callback function (same as SvelteKit's enhance ) reCAPTCHA Options Option Type Required Description -------- ------ ---------- ------------- type 'recaptcha' ✅ CAPTCHA provider type sitekey string ✅ Your reCAPTCHA site key action string ❌ Action name for reCAPTCHA v3 (default: 'submit') hCaptcha Options Option Type Required Description -------- ------ ---------- ------------- type 'hcaptcha' ✅ CAPTCHA provider type widget string ❌ Widget ID (uses first widget if unspecified) Turnstile Options Option Type Required Description -------- ------ ---------- ------------- type 'turnstile' ✅ CAPTCHA provider type sitekey string ✅ Your Turnstile site key container string \\ HTMLElement ❌ Container element (uses form if unspecified) theme 'light' \\ 'dark' \\ 'auto' ❌ Theme (default: 'auto') size 'normal' \\ 'invisible' \\","default_branch":null,"files":null,"tree":[],"storefront":"/r/edde746","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/edde746/svelte-captcha-enhance/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}