Norwegian Puffin Movies

    @marvnet/hcaptcha

    1.0.7 • Public • Published

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

    Keywords

    Install

    npm i @marvnet/hcaptcha

    DownloadsWeekly Downloads

    3

    Version

    1.0.7

    License

    MIT

    Unpacked Size

    4.45 kB

    Total Files

    10

    Last publish

    Collaborators

    • marvman