@novo-x/google-recaptcha
v1.0.2
Published
Google reCAPTCHA core
Downloads
1
Readme
Google reCAPTCHA Service
Available methods
- verify: verifies a previously generated token
Usage examples
yarn add @novo-x/google-recaptcha
import {GoogleRecaptcha} from "@novo-x/google-recaptcha"
const MyService = new GoogleRecaptcha(
'123456789' // apiKey
);
const success = await MyService.verify(
'123456789', // token
'myhost.com' // hostname
);