verify-hcaptcha
Version:
A fully typed library to verify hCaptcha.com tokens submitted by users when solving captcha challenges
81 lines (80 loc) • 1.7 kB
JSON
{
"name": "verify-hcaptcha",
"version": "3.0.0",
"description": "A fully typed library to verify hCaptcha.com tokens submitted by users when solving captcha challenges",
"license": "MIT",
"author": {
"name": "Edoardo Scibona",
"url": "https://github.com/velut"
},
"repository": {
"type": "git",
"url": "https://github.com/velut/verify-hcaptcha.git"
},
"bugs": {
"url": "https://github.com/velut/verify-hcaptcha/issues"
},
"keywords": [
"hcaptcha",
"captcha",
"verify",
"response",
"token",
"user",
"typescript",
"types",
"typed",
"node",
"validate",
"check",
"siteverify"
],
"sideEffects": false,
"type": "module",
"zshy": {
"exports": {
"./package.json": "./package.json",
".": "./src/index.ts"
},
"cjs": false
},
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
"./package.json": "./package.json",
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
}
},
"files": [
"dist"
],
"engines": {
"node": ">=20"
},
"scripts": {
"check": "tsc --noEmit",
"build": "tsc --noEmit && zshy",
"attw": "attw --pack . --profile esm-only",
"test": "vitest",
"test:ci": "vitest run --coverage --bail 1",
"lint": "prettier --check .",
"format": "prettier --write .",
"pre-push": "bun install && bun run lint && bun run build && bun run test:ci && bun run attw",
"release": "np --no-cleanup"
},
"dependencies": {
"zod": "^4.0.15"
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.18.2",
"@types/bun": "^1.2.19",
"@vitest/coverage-v8": "^3.2.4",
"np": "^10.2.0",
"prettier": "^3.6.2",
"typescript": "^5.9.2",
"vitest": "^3.2.4",
"zshy": "^0.3.5"
}
}