
Research
Security News
Malicious npm Package Wipes Codebases with Remote Trigger
A malicious npm typosquat uses remote commands to silently delete entire project directories after a single mistyped install.
@getjoystick/vue-turnstile
Advanced tools
Vue library for Cloudflare Turnstile CAPTCHA alternative
A Cloudflare Turnstile library for Vue 3
Add vue-turnstile
to your Javascript project dependencies using Yarn:
yarn add vue-turnstile
Or NPM:
npm install vue-turnstile --save
<script lang="ts">
import VueTurnstile from 'vue-turnstile';
export default {
components: { VueTurnstile },
data() {
return {
token: '',
};
},
};
</script>
<template>
<div>
<vue-turnstile site-key="1x00000000000000000000AA" v-model="token" />
<div>Token: {{ token }}</div>
</div>
</template>
Prop | Type | Description | Required | Default |
---|---|---|---|---|
site-key | String | Your Turnstile sitekey - Docs | Yes | N/A |
v-model | String | Binding that contains the token returned by the Turnstile widget | Yes | N/A |
reset-interval | Number | Get a fresh token after reset-interval milliseconds - Turnstile tokens only last for 5 minutes | No | 295000 |
size | 'normal' | 'compact' | Widget size | No | 'normal' |
theme | 'light' | 'dark' | 'auto' | Widget theme - auto respects the user's browser preference | No | 'auto' |
action | String | A customer value that can be used to differentiate widgets under the same sitekey in analytics and which is returned upon validation. | No | '' |
render-on-mount | Boolean | Automatically render Turnstile widget after component mounts | No | true |
remove-before-unmount | Boolean | Automatically remove the Turnstile widget in beforeUnmount | No | true |
Method | Description |
---|---|
reset() | Resets the widget |
render() | Renders the widget |
remove() | Removes the widget |
Original author of the library is:
Rui Gomes
https://ruigomes.me
Fork is maintained and published by: Joystick https://getjoystick.com
The MIT License (MIT). Please see LICENSE file for more information.
FAQs
Vue library for Cloudflare Turnstile CAPTCHA alternative
The npm package @getjoystick/vue-turnstile receives a total of 19 weekly downloads. As such, @getjoystick/vue-turnstile popularity was classified as not popular.
We found that @getjoystick/vue-turnstile demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers 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.
Research
Security News
A malicious npm typosquat uses remote commands to silently delete entire project directories after a single mistyped install.
Research
Security News
Malicious PyPI package semantic-types steals Solana private keys via transitive dependency installs using monkey patching and blockchain exfiltration.
Security News
New CNA status enables OpenJS Foundation to assign CVEs for security vulnerabilities in projects like ESLint, Fastify, Electron, and others, while leaving disclosure responsibility with individual maintainers.