@imedx/ics-imedx-readcard-platform-js-sdk
v0.0.1-beta.5
Published
<!-- * @Author: wenbei421 [email protected] * @Date: 2022-10-21 09:56:15 * @LastEditors: wenbei421 [email protected] * @LastEditTime: 2022-10-24 08:54:24 * @FilePath: \ics-imedx-readcard-platform-js-sdk\README.md * @Description: 这是默认设置,请设置`customMade`
Downloads
5
Maintainers
Keywords
Readme
ics-imedx-readcard-platform-js-sdk
通用读卡接口js-sdk封装
Usage
npm i @imedx/ics-imedx-readcard-platform-js-sdk
feature
0.0.1-beta.1 更新readme.md
0.0.1 初次提供
Features
- ReadcardPlatform:通用读卡接口
Importing library
You can import the generated bundle to use the whole library generated by this starter:
import ReadcardPlatform from '@imedx/ics-imedx-readcard-platform-js-sdk'
const readcardPlatform = new ReadcardPlatform('cc_dm_decard_t10_id')
const idCardInfo = await this.readcardPlatform.ReadIdCard()
console.log(idCardInfo, '身份证')