Skip to content

openwallet-foundation-labs/mdoc-ts

mDOC and mDL - TypeScript

ISO 18013-5 defines mDL (mobile Driver’s Licenses): an ISO standard for digital driver licenses.

This is a JavaScript library for Node.JS, browers and React Native to issue and verify mDL CBOR encoded documents in accordance with ISO 18013-7

Installation  |  Contributing  |  License  |  Credits

Installation

npm i @owf/mdoc

React Native Support

When using this library in React Native you may need to add a polyfill for TextDecoder.

You can confirm this by checking if global.TextDecoder is available. It should be available for React Native > 0.85 or Expo SDK > 52.

If it is not available, make sure to add a polyfill like this one.

Contributing

Is there something you'd like to fix or add? Great, we love community contributions! To get involved, please follow our contribution guidelines.

License

This project is licensed under the Apache License Version 2.0 (Apache-2.0).

Credits

Thanks to:

  • auth0/mdl for the mdl implementation on which this repository is based.
  • auer-martin for removing node.js dependencies and providing a pluggable crypto interface

About

TypeScript implementation of ISO 18013-5 (mobile Driver Licenses): an ISO standard for digital driver licenses.

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors