New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

@m-doc/decode

Package Overview
Dependencies
Maintainers
2
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@m-doc/decode

mdl implementation in typescript

latest
npmnpm
Version
0.1.0
Version published
Weekly downloads
10
-47.37%
Maintainers
2
Weekly downloads
 
Created
Source

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

Keywords

mdl

FAQs

Package last updated on 30 Nov 2024

Related posts