
Security News
Astral Launches pyx: A Python-Native Package Registry
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.
vue-captcha-code-alpha
Advanced tools
yarn add vue-captcha-code-alpha
<script setup>
import { CaptchaImage } from 'vue-captcha-code-alpha'
import 'vue-captcha-code-alpha/style.css'
import type { CaptchaImageInstance } from 'vue-captcha-code-alpha'
const captchaRef = ref<CaptchaImageInstance>()
const validate = () => {
captchaRef.value.validate("1234")
}
</script>
<template>
<CaptchaImage ref="captchaRef"/>
</template>
Name | Type | Default | Desp |
---|---|---|---|
codeLength | Number | 4 | length of verification code |
codeType | String[] | ["A", "a", "0"] | type of verification code A [A-Z] / a [a-z] / 0 [0-9] |
contentWidth | Number | 120 | captcha width |
contentHeight | Number | 40 | captcha height |
fontSizeMin | Number | 24 | minimum font size |
fontSizeMax | Number | 36 | maximum font size |
textColor | String | null | specify text color |
textColorMin | Number | 50 | minimum text color |
textColorMax | Number | 160 | maximum text color |
textDegMin | Number | -30 | minimum text rotation |
textDegMax | Number | 30 | maximum text rotation |
backgroundColor | String | null | specify background color |
backgroundColorMin | Number | 200 | minimum background color |
backgroundColorMax | Number | 220 | maximum background color |
dotCount | Number | 30 | specify dot count |
dotColorMin | Number | 0 | minimum dot color |
dotColorMax | Number | 255 | maximum dot color |
lineCount | Number | 4 | specify line count |
lineColorMin | Number | 40 | minimum line color |
lineColorMax | Number | 180 | maximum line color |
FAQs
## install ``` yarn add vue-captcha-code-alpha ```
The npm package vue-captcha-code-alpha receives a total of 38 weekly downloads. As such, vue-captcha-code-alpha popularity was classified as not popular.
We found that vue-captcha-code-alpha 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
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.
Security News
The Latio podcast explores how static and runtime reachability help teams prioritize exploitable vulnerabilities and streamline AppSec workflows.
Security News
The latest Opengrep releases add Apex scanning, precision rule tuning, and performance gains for open source static code analysis.