🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

@trustcomponent/trustcaptcha-nodejs

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@trustcomponent/trustcaptcha-nodejs

TrustCaptcha – Privacy-first CAPTCHA solution for Node.js and TypeScript. GDPR-compliant, bot protection made in Europe.

latest
Source
npmnpm
Version
3.0.0
Version published
Maintainers
1
Created
Source

npm

TrustCaptcha for Node.js — GDPR-compliant, privacy-first CAPTCHA

Protect websites and apps against bots and spam with a privacy-first, EU-hosted CAPTCHA solution.

What is TrustCaptcha?

TrustCaptcha combines proof-of-work, an AI bot-score and custom security rules to stop automated bot abuse — without image marking or puzzles

Key perks:

  • Privacy-friendly & GDPR-compliant – data processed exclusively in Europe
  • No visual challenges – users never label images or solve quizzes
  • Fully themable widget – matches any brand and design and improves your user flow
  • Conversion-safe – near-zero user drop-off compared to legacy CAPTCHAs

Read the full TrustCaptcha product overview for technical details and the security concept.

Get started

  • Create an account: sign up / sign in.
  • Choose a CAPTCHA: pick an existing one or create a new one.
  • Embed the widget: implement the TrustCaptcha widget into your website or app.
  • Validate result: validate the CAPTCHA verification result in your backend.

Need a walkthrough? See the Node.js integration guide.

Basic Node.js integration

  • Install the dependency
npm i @trustcomponent/trustcaptcha-nodejs@^3.0.0
  • Retrieve the verification result
import { TrustCaptcha } from "@trustcomponent/trustcaptcha-nodejs";

// Retrieving the verification result
let verificationResult;
try {
  verificationResult = await TrustCaptcha.getVerificationResult("<your_api_key>", "<verification_token_from_your_client>");
} catch (error) {
  // Fetch verification result failed - handle error
}
  • Act on the result
// Act on the verification result
if (!verificationResult.verificationPassed || verificationResult.score > 0.5) {
    console.log("Verification failed or bot score > 0.5 – possible automated request.");
}

Congratulations — you have successfully validated the result of the CAPTCHA!

For detailed implementation instructions, read the Node.js integration guide.

Other pre-built integrations

TrustCaptcha ships ready-made integrations for popular stacks:

  • Platforms like WordPress, Joomla, CraftCMS or Keycloak
  • Frontends like JavaScript, Angular, React or Vue.js
  • Backends like Node.js, PHP, Python, Java, Ruby, Rust, Go or DotNet
  • Mobile Applications like iOS, Android, React Native or Flutter

Discover all our pre-built Integrations on our website.

Get support

Questions? We will be happy to help!

Keywords

captcha

FAQs

Package last updated on 07 May 2026

Did you know?

Socket

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.

Install

Related posts