@m-doc/decode
v0.1.0
Published
mdl implementation in typescript
Downloads
205
Readme
Decoder for mdl
This package provides a decoder function for the mdoc/mdl(ISO/IEC 18013-5).
Supported Platforms
- Node.js
- Browser
- React Native
Installation
npm install @m-doc/decode
yarn install @m-doc/decode
pnpm install @m-doc/decode
Usage
import { decodeMdl } from '@m-doc/decode';
const rawMdl = decodeMdl(buffer); // buffer is an ArrayBuffer
console.log(rawMdl);
To see the details, please refer to the examples folder.
License
Apache-2.0
More Information
See the original Repo: https://github.com/openwallet-foundation-labs/mdl-js