{"id":27062713,"url":"https://github.com/imufeng/gt4-node-sdk","last_synced_at":"2025-04-05T15:19:13.360Z","repository":{"id":57686613,"uuid":"485225962","full_name":"iMuFeng/gt4-node-sdk","owner":"iMuFeng","description":"GeeTest v4 NodeJS SDK","archived":false,"fork":false,"pushed_at":"2022-06-28T02:11:09.000Z","size":92,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-08T13:36:14.151Z","etag":null,"topics":["geetest","sdk"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/iMuFeng.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-04-25T04:46:32.000Z","updated_at":"2022-06-28T02:03:37.000Z","dependencies_parsed_at":"2022-09-14T07:11:46.188Z","dependency_job_id":null,"html_url":"https://github.com/iMuFeng/gt4-node-sdk","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iMuFeng%2Fgt4-node-sdk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iMuFeng%2Fgt4-node-sdk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iMuFeng%2Fgt4-node-sdk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iMuFeng%2Fgt4-node-sdk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iMuFeng","download_url":"https://codeload.github.com/iMuFeng/gt4-node-sdk/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247353733,"owners_count":20925333,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["geetest","sdk"],"created_at":"2025-04-05T15:19:12.688Z","updated_at":"2025-04-05T15:19:13.333Z","avatar_url":"https://github.com/iMuFeng.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GeeTest v4 Node.js SDK\n\n[![Build Status](https://github.com/iMuFeng/gt4-node-sdk/workflows/CI/badge.svg)](https://github.com/iMuFeng/gt4-node-sdk/actions)\n[![NPM Version](https://img.shields.io/npm/v/gt4-node-sdk.svg?sanitize=true)](https://www.npmjs.com/package/gt4-node-sdk)\n\n## Installation\n\nInstall the library with `npm install gt4-node-sdk` or `yarn add gt4-node-sdk`\n\n## Usage\n\n```js\nimport { GeeTest } from 'gt4-node-sdk'\n\nconst gt = new GeeTest({\n  captchaId: 'your_id',\n  captchaKey: 'your_key'\n})\n\nconst { result, reason } = await gt.validate({\n  lotNumber: 'your_lot_number',\n  captchaOutput: 'your_captcha_output',\n  passToken: 'your_pass_token',\n  genTime: 'your_gen_time'\n})\n\nif (result === 'success') {\n  console.log('success')\n} else {\n\tconsole.log('fail: %s', reason)\n}\n```\n\n## MIT license\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimufeng%2Fgt4-node-sdk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fimufeng%2Fgt4-node-sdk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimufeng%2Fgt4-node-sdk/lists"}