rCaptcha® | Human Verification
Used Packages: canvas
and latest-version
Kullanılan Modüller: canvas
ve latest-version
Developer: Swôth#9990
Geliştirici: Swôth#9990
Usage / Kullanım
EN: First we have to define the package.
TR: İlk olarak modülü tanımlamalıyız.
const rCaptcha = require('rcaptcha')
EN: Let's see how to create a captcha.
TR: Nasıl captcha oluşturulduğuna bakalım.
const rCaptcha = require('rcaptcha')
const newCaptcha = new rCaptcha({
language: "",
difficulty: "",
length: 4,
})
EN: Let's see the response.
TR: Yanıtı görelim.
const rCaptcha = require('rcaptcha')
const newCaptcha = new rCaptcha({
language: "EN",
difficulty: "HARD",
length: 10,
})
console.log(newCaptcha)
EN: Let's move on to using Captcha.
TR: Captcha kullanımına geçelim.
const rCaptcha = require('rcaptcha')
const newCaptcha = new rCaptcha({
language: "EN",
difficulty: "HARD",
length: 10,
})
const input = "TEST"
if (input !== newCaptcha.code) {
console.log("Captcha failed!")
} else {
console.log("Captcha was passed!")
}
Updates / Güncellemeler
0.0.1 ▸ Package created and published on NPM
by Swôth#9990
(MIT)