https://github.com/guerrerocarlos/recaptcha-check
Check the token provided by the invisible reCAPTCHA (server-side)
https://github.com/guerrerocarlos/recaptcha-check
Last synced: 3 months ago
JSON representation
Check the token provided by the invisible reCAPTCHA (server-side)
- Host: GitHub
- URL: https://github.com/guerrerocarlos/recaptcha-check
- Owner: guerrerocarlos
- Created: 2017-05-24T13:34:33.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-03-30T15:57:16.000Z (about 7 years ago)
- Last Synced: 2025-02-08T05:17:45.826Z (4 months ago)
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/recaptcha-check
- Size: 2.93 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
reCAPTCHA check
===Checks the token included in the form when using "invisible reCAPTCHA" as defined in [reCAPTCHA documentation](https://developers.google.com/recaptcha/)
This module is to be used server-side
USE
==```javascript
var checkCaptcha = require('recaptcha-check')('your-private-token-here')checkCaptcha('token-from-form', 'user-remote-ip').then(function success(){
console.log('success token is valid!')
},
function error(){
console.log('error :(')
})
```get your **private token** from the [reCAPTCHA admin](https://www.google.com/recaptcha/admin)