UNPKG

aamva-parser

Version:

Plugin to parse AAMVA Drivers License Data from the PDF417 barcode

14 lines (13 loc) 402 B
import { FieldParser } from "../mappers/fieldParser"; import { ParsedLicense } from "../parsedLicense"; export declare class LicenseParser { private regex; data: string; fieldParser: FieldParser; constructor(data: string); private cleanAndFormatString; parse(): ParsedLicense; parseVersion(): string | null; private versionBasedFieldParsing; isExpired(): boolean; }