mdl implementation in typescript
This package provides a decoder function for the mdoc/mdl(ISO/IEC 18013-5).
- Node.js
- Browser
- React Native
``bash`
npm install @m-doc/decode
`bash`
yarn install @m-doc/decode
`bash`
pnpm install @m-doc/decode
`typescript
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.
Apache-2.0
See the original Repo: https://github.com/openwallet-foundation-labs/mdl-js