1.0.7 • Published 5 years ago

@marvnet/hcaptcha v1.0.7

Weekly downloads
1
License
MIT
Repository
github
Last release
5 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

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago