No description
Find a file
Aravinth Manivannan 8499d8f2b0
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Merge pull request 'chore(deps): update dependency idna to v3.10' (#26) from renovate/idna-3.x into master
Reviewed-on: #26
2024-09-16 14:10:10 +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 chore(deps): update dependency node to v20.16.0 2024-07-24 12:33:16 +00:00
.woodpecker.yml chore(deps): update node.js to v20.15.1 2024-07-22 13:35:03 +00:00
Makefile fix: CI: use npm 2024-01-03 01:08:35 +05:30
package-lock.json chore(deps): update dependency mocha to v10.7.3 2024-08-09 11:03:57 +00:00
package.json fix: use mcaptcha namespace 2024-01-03 01:27:47 +05:30
README.md feat: add readme 2024-01-03 01:36:56 +05:30
renovate.json Add renovate.json 2024-06-04 07:36:02 +00:00
requirements.txt chore(deps): update dependency idna to v3.10 2024-09-15 18:38:17 +00:00

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