1.0.2 • Published 2 years ago

@novo-x/google-recaptcha v1.0.2

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

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
);

Dependencies

axios