hcaptcha-test-keys

1.0.0 • Public • Published

hcaptcha-test-keys

The hCaptcha widget keys for testing and development environments, but as a Node.js module with a name.

Provided by hCaptcha in their documentation.

Installation

npm install --save hcaptcha-test-keys

Usage

const testKeys = require('hcaptcha-test-keys')
 
hcaptcha.render('hcaptcha-element', {
  sitekey: process.env.NODE_ENV === 'development'
    ? testKeys.sitekey
    : yourActualSiteKey()
})
 
// etc

API

testKeys.sitekey

Site key: 10000000-ffff-ffff-ffff-000000000001

testKeys.secret

Secret key: 0x0000000000000000000000000000000000000000

Related

License

Unlicense

Dependents (0)

Package Sidebar

Install

npm i hcaptcha-test-keys

Weekly Downloads

2

Version

1.0.0

License

Unlicense

Unpacked Size

3 kB

Total Files

5

Last publish

Collaborators

  • goto-bus-stop