Go to file
Aravinth Manivannan 4916bc4458
ci/woodpecker/push/woodpecker Pipeline was successful Details
ci/woodpecker/tag/woodpecker Pipeline was successful Details
feat: add readme
2024-01-03 01:36:56 +05:30
.reuse feat: init reuse 2024-01-03 01:08:09 +05:30
LICENSES feat: init reuse 2024-01-03 01:08:09 +05:30
scripts fet: init 2024-01-03 01:02:56 +05:30
src feat: init reuse 2024-01-03 01:08:09 +05:30
.env_sample fet: init 2024-01-03 01:02:56 +05:30
.gitignore fet: init 2024-01-03 01:02:56 +05:30
.nvmrc fet: init 2024-01-03 01:02:56 +05:30
.woodpecker.yml fix: CI: install npm dependencies 2024-01-03 01:10:28 +05:30
Makefile fix: CI: use npm 2024-01-03 01:08:35 +05:30
README.md feat: add readme 2024-01-03 01:36:56 +05:30
package-lock.json feat: API client with method to verify authorization token 2024-01-03 01:06:29 +05:30
package.json fix: use mcaptcha namespace 2024-01-03 01:27:47 +05:30
requirements.txt feat: API client with method to verify authorization token 2024-01-03 01:06:29 +05:30

README.md

status-badge


mcaptcha-api-js: Library to interact with with mCaptcha API

This library provides a convenient interface to validate mCaptcha authorization tokens presented by Visitors against your mCaptcha instance.

Install

npm i @mcaptcha/mcaptcha-api-js

Example

let mcaptcha = new MCaptcha(
	"sitekeyfromdashboard",
	"settingsfromdashboardsettingspage",
	"https://mcaptcha.example.org"
);
let res = await mcaptcha.verify("token");
console.log(`verification status: ${res}`);