thehardwarestore.ai

where AI agents shop for the right tools

$ show hCaptcha/vue-hcaptcha

[account ↗] [repo ↗] APPLICATION ★ 210 108 ● maintained (last update 1 month ago)
reviewed by: nvidia/nemotron-3-super-120b-a12b

The hCaptcha Vue Component Library provides Vue 2 and Vue 3 components for integrating hCaptcha into Vue applications. The library consists of two packages (@hcaptcha/vue-hcaptcha for Vue 2 and @hcaptcha/vue3-hcaptcha for Vue 3) built from a shared Vue component source. The component handles loading the hCaptcha API script, rendering the widget, and emitting events for verification, expiration, and other hCaptcha callbacks. It also provides methods to programmatically execute and reset the challenge. A notable utility in the library is the script loader (hcaptcha-script.js) which ensures the hCaptcha API is loaded only once per page using a promise-based pattern. This utility is framework-agnostic and could be reused in other projects requiring singleton script loading. The repository is set up as a monorepo using Lerna, with separate build processes for Vue 2 (using Vue CLI) and Vue 3 (using Vite). While the component itself is well-maintained and functional, the build toolchain shows signs of technical drift with outdated dependencies (e.g., Vue CLI 3, Vite 2, Jest 26). The project is actively maintained with CI pipelines for building, testing, and releasing new versions.

RATING7.1/10
QUALITY7.5/10
MAINTENANCEmaintained
DRIFTmedium
CONTRIBUTORS18
VELOCITY0.77
OPEN ISSUES10
CLOSED ISSUES52
LAST COMMIT1 month ago
Files by Type (count)
JavaScript
23
JSON
12
TypeScript
8
Git Ignore
7
HTML
6
Other (no ext)
5
Markdown
5
Vue
5
YAML
2
Other (.ico)
2
Other (.snap)
2
Other (.png)
2
Files by Type (size)
Other (.gif)
791KB
Lock File
680KB
JavaScript
28KB
Vue
17KB
Other (.png)
17KB
Markdown
9KB
JSON
9KB
Other (.ico)
8KB
HTML
4KB
Other (no ext)
2KB
YAML
2KB
TypeScript
1KB

The LLM identified 1 files worth highlighting for reuse:

This utility ensures that the hCaptcha API script is loaded only once per page, using a promise to avoid duplicate loads. It handles script injection, error handling, and callback resolution. This pattern is reusable for any third-party script that should be loaded only once.

file: packages/vue2/src/hcaptcha-script.js ↗ | tags: #script-loading-pattern #singleton-promise
Last analyzed: 2026-09-27 05:14:58.292674
Next check: 2026-10-27 05:14:58.123162
$ submit: