image to totp:QR将QR图像转换为TOTP代码 源码
图像转换 image-to-totp是使用单个API从QR码图像生成totp码的库。 用法 npm install @thomaschaplin/image-to-totp 用法示例 import { imageToTotp } from "@thomaschaplin/image-to-totp" ; import * as path from "path" ; const example = async ( account : string ) => { const projectBaseFolder = path . join ( __dirname , "../" ) ; const imagesFolder = path . join ( projectBaseFolder , "examples/images" ) ; const totp = await ima
文件列表
image-to-totp-master.zip
(预估有个28文件)
image-to-totp-master
.prepush.config
57B
prepush.sh
710B
.gitignore
19B
package.json
2KB
package-lock.json
253KB
src
image-to-totp.ts
413B
__tests__
parse-totp-uri.spec.ts
634B
暂无评论