Socket
Socket
Sign inDemoInstall

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


Version published
Weekly downloads
11K
decreased by-0.68%
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

Specifications

TD1, TD2 and TD3

https://www.icao.int/publications/pages/publication.aspx?docnum=9303

Swiss driving license

License

MIT

Keywords

FAQs

Package last updated on 16 Jan 2018

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