1.1.0 • Published 4 days ago

@trustcaptcha/trustcaptcha-nodejs v1.1.0

Weekly downloads
-
License
Apache-2.0
Repository
-
Last release
4 days ago

Trustcaptcha NodeJS-Library

The NodeJS library helps you to integrate Trustcaptcha into your NodeJS backend applications.

What is Trustcaptcha?

A captcha solution that protects you from bot attacks and puts a special focus on user experience and data protection.

You can find more information on your website: www.trustcaptcha.com.

How does the library work?

Detailed instructions and examples for using the library can be found in our documentation.

Short example

Here you can see a short code example of a possible integration. Please refer to our provided documentation for complete and up-to-date integration instructions.

Installing the library

npm i @trustcaptcha/trustcaptcha-nodejs

Fetching and handling the result

// Retrieving the verification result
let verificationResult = await CaptchaManager.getVerificationResult("<your_secret_key>", verificationToken);

// Do something with the verification result
if (!verificationResult.verificationPassed || verificationResult.score > 0.5) {
    console.log("Verification failed, or bot score is higher than 0.5 – this could indicate a bot.");
}

Ideas and support

If you have any ideas, suggestions, or need support, please contact us.

1.1.0

4 days ago

1.0.4

2 months ago

1.0.3

4 months ago

1.0.2

4 months ago

1.0.1

6 months ago

1.0.0

6 months ago

0.0.14

6 months ago

0.0.13

6 months ago

0.0.11

6 months ago

0.0.12

6 months ago