1.0.1 • Published 2 years ago

@mcaptcha/mcaptcha-api-js v1.0.1

Weekly downloads
-
License
(MIT OR Apache-2....
Repository
-
Last release
2 years ago

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

2 years ago

1.0.0

2 years ago