Skip to content

guerrerocarlos/reCAPTCHA-check

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

reCAPTCHA check

Checks the token included in the form when using "invisible reCAPTCHA" as defined in reCAPTCHA documentation

This module is to be used server-side

USE

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

About

Check the token provided by the invisible reCAPTCHA (server-side)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published