1.0.3 • Published 3 months ago

dynamic-tencent-captcha v1.0.3

Weekly downloads
-
License
MIT
Repository
-
Last release
3 months ago

dynamic-tencent-captcha

以尽量简单的代码获取腾讯图形验证结果。

Installation

npm install --save dynamic-tencent-captcha

Usage

import { getCaptcha } from 'getCaptcha';

getCaptcha("appId").then((result)=>{
  console.log(result.CaptchaAppId)
  console.log(result.randstr)
  console.log(result.ticket)
})

Others

my node version: v16.17.1

my npm version: 8.15.0