npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

nuxt-hpcaptcha

v1.3.2

Published

Nuxt 3 HPCaptcha component library is a plain utility whereby you can have an advanced yet hassle-free captcha in an instant

Downloads

62

Readme

Document

With our module you can have your own customizable recaptcha in a matter of second!

after installing module head into nuxt.config.ts and set it as follows below:

export default defineNuxtConfig({
devtools: { enabled: true },
modules:["nuxt-hpcaptcha"]
});

then you can use our component in your template like this:
<HPCaptcha/>

There are some properties and emits to let you customize the component in accordance to your needs:

Props:

|Prop|HPCaptcha|HPCaptchaImg| |:---------:|:------------:|:----:| |captchaSize|✅|❌| |length|✅|❌| |bgclr|✅|❌| |theme|❌|✅| |checkclr|✅|✅| |reloadclr|✅|❌| |boxclr|❌|✅| |boxBorderclr|❌|✅| |inputBorderclr|✅|❌| |letterSensitive|✅|❌| |boxSize|❌|✅|

"captchaSize" :
type: String
default: "2.5rem"
description: Change the captcha font size as you like (e.g 20px, 4rem);

"length" :
type: Number
default: 6
description: You can set how many characters each captcha you want to include;

"bgclr" :
type: String
default: 'white'
description: You can change the wrapper background color;

"reloadclr" :
type: String
default: '#4db2ec'
description: You can change the reload button color;

"checkclr" :
type: String
default: '#4db2ec'
description: You can change the check button color;

"letterSensitive" :
type: Boolean
default: true
description: When True the recaptcha validation will be sensitive to lower/uppercase letters but when set to False you can ignore whether a letter in captcha is lower/uppercase;

"inputBorderclr" :
type: String
default: '#94a3b8'
description: When recaptcha input has a value the input will assume a border color, by this prop you can change the color or make it 'transparent';

"theme" :
type: String
default: '#4db2ec'
description: You can set the overall color of your image captcha container;

"boxclr" :
type: String
default: 'white'
description: With this prop you can set the the color of the initial ("I'm not a robot") box;

"boxBorderclr" :
type: String
default: '#94a3b8'
description: By this prop you can easily change the border color of the initial ("I'm not a robot") box;


Emits:

|Emit|HPCaptcha|HPCaptchaImg| |:---------:|:------------:|:----:| |valid|✅|✅| |invalid|✅|✅| |v-model|❌|✅|

"valid" :
When user clicks on the check button if the captcha matches, this emit will be called;

"invalid" :
When user clicks on the check button if the captcha does not match, this emit will be called;

"v-model" :
You can have the value of the image recaptcha whether it's been verified or not;

My Github: HP8585
My Email: [email protected]