mcaptcha-api-js/README.md
Aravinth Manivannan 4916bc4458
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline was successful
feat: add readme
2024-01-03 01:36:56 +05:30

687 B

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}`);