hcaptcha-test-keys
The hCaptcha widget keys for testing and development environments.
Last updated 9 months ago by goto-bus-stop .
Unlicense · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install hcaptcha-test-keys 
SYNC missed versions from official npm registry.

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

Current Tags

  • 1.0.0                                ...           latest (9 months ago)

1 Versions

  • 1.0.0                                ...           9 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 0
Last Month 2
Dependencies (0)
None
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |