Display and verify a Recaptcha captcha with support for node servers behind proxies

Usage no npm install needed!

<script type="module">
  import akitaboxNodeRecaptcha from 'https://cdn.skypack.dev/@akitabox/node-recaptcha';



Build Status

@akitabox/node-recaptcha renders and verifies reCAPTCHA captchas with support for node servers behind proxies.

NOTE: This release currently only supports reCAPTCHA version 2.


Via npm:

$ npm install @akitabox/node-recaptcha


Before you can use this module, you must visit http://www.google.com/recaptcha to request a public and private API key for your domain.

Optional Use Behind Proxy

Export the environment variable HTTPS_PROXY as described here.

Running the Tests

To run the tests for this module simply run:

$ npm install
$ npm test

Example Using Express

Reference examples folder