recaptcha-test-keys
The ReCaptcha 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 recaptcha-test-keys 
SYNC missed versions from official npm registry.

recaptcha-test-keys

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

Provided by Google in the reCAPTCHA documentation.

Installation

npm install --save recaptcha-test-keys

Usage

const testKeys = require('recaptcha-test-keys')

grecaptcha.render('recaptcha-element', {
  sitekey: process.env.NODE_ENV === 'development'
    ? testKeys.sitekey
    : yourActualSiteKey()
})

// or
import { sitekey, secret } from 'recaptcha-test-keys'

// etc

API

testKeys.sitekey

Site key: 6LeIxAcTAAAAAJcZVRqyHh71UMIEGNQ_MXjiZKhI

testKeys.secret

Secret key: 6LeIxAcTAAAAAGG-vFI1TnRWxMZNFuojJ4WifJWe

License

Unlicense

Current Tags

  • 1.0.1                                ...           latest (9 months ago)

2 Versions

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

Copyright 2014 - 2016 © taobao.org |