Skip to content
master
Go to file
Code

Files

Permalink
Failed to load latest commit information.

README.md

hcaptcha

Verify hCaptcha token validity; simply w/ no dependencies.

Install

npm install --save hcaptcha

Usage

const {verify} = require('hcaptcha');

const secret = 'my hcaptcha secret from hcaptcha.com';
const token = 'token from widget';

verify(secret, token)
  .then((data) => console.log('success!', data))
  .catch(console.error);

About

Verify hCaptcha token validity

Resources

Packages

No packages published
You can’t perform that action at this time.