@mcaptcha/mcaptcha-api-js

1.0.1 • Public • Published

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.1
    23
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.1
    23
  • 1.0.0
    0

Package Sidebar

Install

npm i @mcaptcha/mcaptcha-api-js

Homepage

mcaptcha.org

Weekly Downloads

23

Version

1.0.1

License

(MIT OR Apache-2.0)

Unpacked Size

3.83 kB

Total Files

4

Last publish

Collaborators

  • mcaptcha-user
  • realaravinth