No description
Aravinth Manivannan
2f5bedbc8c
Some checks are pending
ci/woodpecker/push/woodpecker Pipeline is pending
Reviewed-on: #3 |
||
---|---|---|
.reuse | ||
LICENSES | ||
scripts | ||
src | ||
.env_sample | ||
.gitignore | ||
.nvmrc | ||
.woodpecker.yml | ||
Makefile | ||
package-lock.json | ||
package.json | ||
README.md | ||
renovate.json | ||
requirements.txt |
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}`);