Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

mrz

Package Overview
Dependencies
Maintainers
3
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mrz

Create and parse MRZ (Machine Readable Zone) in TD1 and TD3 format

  • 1.0.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
9.9K
decreased by-6.01%
Maintainers
3
Weekly downloads
 
Created
Source

mrz

NPM version build status Test coverage David deps npm download

Parse MRZ (Machine Readable Zone) in TD1, TD2, TD3 or CH driving licence format

Installation

$ npm install mrz

Example


const parse = require('mrz').parse;

let mrz = `I<UTOD23145890<1233<<<<<<<<<<<
7408122F1204159UTO<<<<<<<<<<<6
ERIKSSON<<ANNA<MARIA<<<<<<<<<<`;

var result = parse(mrz);
console.log(result);

Or test it in Runkit

License

MIT

Keywords

FAQs

Package last updated on 26 Oct 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc