
Security News
TC39 Advances 11 Proposals for Math Precision, Binary APIs, and More
TC39 advances 11 JavaScript proposals, with two moving to Stage 4, bringing better math, binary APIs, and more features one step closer to the ECMAScript spec.
cfturnstile-vue2
Advanced tools
A Vue 2.7 component for showing the Cloudflare Turnstile widget on your project.
A Vue 2.7 component for showing the Cloudflare Turnstile widget on your project.
Cloudflare Turnstile is a CAPTCHA alternative from Cloudflare. It uses PAT protocol to verify the user’s devices, preventing bots and malicious users from accessing your site and ensuring your and your visitors’ privacy is protected.
Introduction for Cloudflare Turnstile
yarn add cfturnstile-vue2
# or
npm install cfturnstile-vue2
<template>
<div id="app">
<cfturnstile
:sitekey="sitekey"
@verify="verify"
/>
</div>
</template>
<script>
import { defineComponent } from 'vue'
import Turnstile from 'cfturnstile-vue2'
export default defineComponent({
name: 'App',
components: {
'cfturnstile': Turnstile
},
data() {
return {
sitekey: 'YOUR_SITE_KEY'
}
},
methods: {
verify(token) {
console.log(token)
}
}
})
</script>
FAQs
A Vue 2.7 component for showing the Cloudflare Turnstile widget on your project.
The npm package cfturnstile-vue2 receives a total of 29 weekly downloads. As such, cfturnstile-vue2 popularity was classified as not popular.
We found that cfturnstile-vue2 demonstrated a not healthy version release cadence and project activity because the last version was released 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
TC39 advances 11 JavaScript proposals, with two moving to Stage 4, bringing better math, binary APIs, and more features one step closer to the ECMAScript spec.
Research
/Security News
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
Product
Customize license detection with Socket’s new license overlays: gain control, reduce noise, and handle edge cases with precision.