1.0.7 • Published 6 years ago

@marvnet/hcaptcha v1.0.7

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

hcaptcha

Original author: vastus

Verify hCaptcha token validity.

Install

yarn add @marvnet/hcaptcha

Usage

import { verify } from "@marvnet/hcaptcha";

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

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

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago